Skip to content

CAUTION: This site hosts draft documentation for the next release. For published content of the latest release, visit www.eclipse.org/openj9/docs

What's new in version 0.47.0

The following new features and notable changes since version 0.46.0 are included in this release:

Features and changes

Binaries and supported environments

Eclipse OpenJ9™ release 0.47.0 supports OpenJDK 23.

To learn more about support for OpenJ9 releases, including OpenJDK levels and platform support, see Supported environments.

-Xshareclasses option automatically enables -XX:+ShareOrphans

The -XX:+ShareOrphans option automatically enables the -Xshareclasses option. From release 0.47.0 onwards, if the -Xshareclasses option is specified in the command line, it automatically enables the -XX:+ShareOrphans option.

For more information, see -XX:[+|-]ShareOrphans.

Restrictions in the -XX:[+|-]ShareOrphans option fixed

The -XX:[+|-]ShareOrphans option had the following restrictions:

  • The class comparison might not detect the removal of method access modifiers. For example, a change of a method from public to package-private.
  • java.lang.StackTraceElement.getClassLoaderName() might return null for classes that are stored in the shared cache.

These restrictions are no longer applicable from this release onwards.

Start of content that applies to Java 23 and later New JDK 23 features

The following features are supported by OpenJ9:

  • JEP 469: Vector API (Eighth Incubator)
  • JEP 471: Deprecate the Memory-Access Methods in sun.misc.Unsafe for Removal
  • JEP 481: Scoped Values (Third Preview)

The following features are implemented in OpenJDK and available in any build of OpenJDK 23 with OpenJ9:

  • JEP 455: Primitive Types in Patterns, instanceof, and switch (Preview)
  • JEP 466: Class-File API (Second Preview)
  • JEP 467: Markdown Documentation Comments
  • JEP 473: Stream Gatherers (Second Preview)
  • JEP 476: Module Import Declarations (Preview)
  • JEP 477: Implicitly Declared Classes and Instance Main Methods (Third Preview)
  • JEP 480: Structured Concurrency (Third Preview)
  • JEP 482: Flexible Constructor Bodies (Second Preview)

You can find the full list of features for JDK 23 at the OpenJDK project. Any remaining features that are listed either do not apply to OpenJ9 or are not implemented and hence not applicable to OpenJ9 in this release. End of content that applies to Java 23 and later

Known problems and full release information

To see known problems and a complete list of changes between Eclipse OpenJ9 v0.46.0 and v0.47.0 releases, see the Release notes.