RFR: 8167063: spurious message "A JNI error has occurred" if start-class cannot be initialized

Ramanand Patil ramanand.patil at oracle.com
Fri Jan 20 13:21:30 UTC 2017


Hi all,
Please review the following bug fix:
Bug: https://bugs.openjdk.java.net/browse/JDK-8167063
Webrev: http://cr.openjdk.java.net/~rpatil/8167063/webrev.00/

Handled the SecurityException and LinkageError which can be thrown from Class.forName(...) method used in LauncherHelper.java and added corresponding error messages to launcher.properties.
Though the reported bug is because of the LinkageError, Security exception is also handled to be safe from calling Class.forName method.

Regards,
Ramanand.


More information about the core-libs-dev mailing list