Duplicate :
|
|
Relates :
|
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.
|