-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Description
The IBM J9 JDK 8 does not have the private native method Class.getConstantPool().
Please note the J9 is the product name while the JDK level is Java 8.
When the static initialization is performed this results in a run-time error which is ignored in the catch block and the code probably assumes that this is the case because the JDK is < 8 and turns off boolean RESOLVES_LAMBDAS used to indicate whether lambdas are supported or not.
When later a lambda is to be processed a null is returned.
The only possible work around is to not use method references any more.
While version 8 of IBM JDK is only available via commercial subscription, later releases can be downloaded for free from the Adopt OpenJDK site under the name "Open J9".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels