Details

    • Epic
    • Status: In Progress
    • Blocker
    • Resolution: Unresolved
    • None
    • None
    • None
    • Oak should compile & test on Java 22

    Description

      I'm currently seeing for ReplicaSetDefaultWriteConcernIT:

      [INFO] Running org.apache.jackrabbit.oak.plugins.document.mongo.ReplicaSetDefaultWriteConcernIT
      java.lang.reflect.InaccessibleObjectException: Unable to make field private final long java.lang.ProcessImpl.handle accessible: module java.base does not "opens java.lang" to unnamed module @2fc14f68
              at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:388)
              at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:364)
              at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:312)
              at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:183)
              at java.base/java.lang.reflect.Field.setAccessible(Field.java:177)
              at de.flapdoodle.embed.process.runtime.Processes.windowsProcessId(Processes.java:113)
              at de.flapdoodle.embed.process.runtime.Processes.access$200(Processes.java:48)
              at de.flapdoodle.embed.process.runtime.Processes$PidHelper$3.getPid(Processes.java:218)
              at de.flapdoodle.embed.process.runtime.Processes.processId(Processes.java:81)
              at de.flapdoodle.embed.process.runtime.ProcessControl.<init>(ProcessControl.java:65)
              at de.flapdoodle.embed.process.runtime.ProcessControl.start(ProcessControl.java:165)
              at de.flapdoodle.embed.process.runtime.AbstractProcess.<init>(AbstractProcess.java:96)
              at de.flapdoodle.embed.mongo.AbstractMongoProcess.<init>(AbstractMongoProcess.java:53)
              at de.flapdoodle.embed.mongo.MongodProcess.<init>(MongodProcess.java:50)
              at de.flapdoodle.embed.mongo.MongodExecutable.start(MongodExecutable.java:44)
              at de.flapdoodle.embed.mongo.MongodExecutable.start(MongodExecutable.java:34)
              at de.flapdoodle.embed.process.runtime.Executable.start(Executable.java:109)
              at org.apache.jackrabbit.oak.plugins.document.mongo.MongodProcess.start(MongodProcess.java:67)
              at org.apache.jackrabbit.oak.plugins.document.mongo.MongodProcessFactory.startReplicaSet(MongodProcessFactory.java:89)
              at org.apache.jackrabbit.oak.plugins.document.mongo.MongodProcessFactory.startReplicaSet(MongodProcessFactory.java:80)
              at org.apache.jackrabbit.oak.plugins.document.mongo.ReplicaSetDefaultWriteConcernIT.before(ReplicaSetDefaultWriteConcernIT.java:53)
              at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
              at java.base/java.lang.reflect.Method.invoke(Method.java:580)
              at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
              at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
              at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
              at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33)
              at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
              at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
              at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:54)
              at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
              at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
              at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
              at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
              at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
              at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
      

      Attachments

        Issue Links

          Activity

            There are no comments yet on this issue.

            People

              reschke Julian Reschke
              reschke Julian Reschke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: