Skip to content

4.x: Helidon build fails with Java 24 #9860

@tomas-langer

Description

@tomas-langer

There are the following problems:

  1. Incorrect processing of error types in AptTypeFactory, where an inner type without a package does not resolve into a proper class name
  2. Micronaut Data integration fails at test compile, due to a problem with one of the Micronaut annotation processors (under investigation, will reference issue)
  3. Pinning no longer happens for synchronized, we have test that expect it (TestPinnedThread.java)
  4. Microstream integration fails (see below), disabling tests for Java 24
  5. MutualTlsTest - changed messages in TLS handshake
  6. CipherSuiteTest - changed supported cipher suites

As a result the repo cannot be built using Java 24 (using build 36 to validate).

Microstream stack (using latest Microstream version):

io.helidon.integrations.microstream.core.ConfigurationTest.createFromConfigTest  Time elapsed: 0.455 s  <<< ERROR!
java.lang.NoSuchMethodError: 'void sun.misc.Unsafe.ensureClassInitialized(java.lang.Class)'
        at one.microstream.memory.sun.JdkInternals.ensureClassInitialized(JdkInternals.java:988)

Metadata

Metadata

Assignees

Labels

4.xVersion 4.xbugSomething isn't workingbuild

Type

Projects

Status

Closed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions