You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For reasons explained in #953 (comment), the so-called "isolated" mode of running java apps is a dead-end in modern Java. In short, the "isolated" mode, intended to support running multiple Java apps on OSv by isolating their class loaders and loggers.
For reasons explained in #953 (comment), the so-called "isolated" mode of running java apps is a dead-end in modern Java. In short, the "isolated" mode, intended to support running multiple Java apps on OSv by isolating their class loaders and loggers.
The Java version 9 and newer remove certain interfaces like
java.util.logging.LogManager.addPropertyChangeListener()
and types of class loaders used in the OSv Java code in isolated mode. On top of this, modern Java provides a way to achieve isolation by so-called "isolates" (see https://www.graalvm.org/sdk/javadoc/index.html?org/graalvm/nativeimage/Isolates.html and https://www.graalvm.org/sdk/javadoc/index.html?org/graalvm/nativeimage/Isolates.html). There seems to be also a modern lightweight library that provides some sort of isolation and works with java 11 (I think) - https://github.com/chrisgleissner/jisolate.Given all that I propose, we kill the java isolated mode. This would entail:
modules/java-base/runjava-isolated
(possibly collapsemodules/java-base/runjava-non-isolated
withmodules/java-base/runjava-common
)java-isolated
modules/java-base/java.cc
to remove isolated-mode specific codemodules/java-tests
to remove isolated-mode testsscripts/module.py
and related scripts to remove isolated-vs-non-isolated codeio.osv.isolated.MultiJarLoader
and update any Java apps fromapps
using itThe text was updated successfully, but these errors were encountered: