-
Enhancement
-
Resolution: Fixed
-
P1
-
None
-
None
-
None
With JDK 17, Unsafe.defineAnonymousClass is no more. Nashorn must handle its absence gracefully when --anonymous-classes option is set to "auto" (which is the default). It should still reject starting up if someone explicitly set the option to "true". The behavior when it's set to "false" is unchanged.
- duplicates
-
JDK-8269731 ExceptionInInitializerError trying to use nashorn 15.1.1 or 15.2 with Java 17+27
- Closed
- relates to
-
JDK-8243287 Removal of Unsafe::defineAnonymousClass
- Resolved