Skip to content

NoSuchMethodError on Decapsulation.setField with JDK9 build 118 #278

@russgold

Description

@russgold

We get:

java.lang.NoSuchMethodError: sun.reflect.ReflectionFactory.newFieldAccessor(Ljava/lang/reflect/Field;Z)Lsun/reflect/FieldAccessor;
at weblogic.server.ServerLifecycleRuntimeTest.testShutdownRequestTimeout(ServerLifecycleRuntimeTest.java:244)
at weblogic.server.ServerLifecycleRuntimeTest.testNewDefaultShutdownRequestTimeout(ServerLifecycleRuntimeTest.java:222)

when running with JMockit 1.23 on the latest version of JDK9, as JMockit is using internal Sun APIs to access internals. These were removed in build 115

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions