RFR: 8167063: spurious message "A JNI error has occurred" if start-class cannot be initialized
Ramanand Patil
ramanand.patil at oracle.com
Mon Jan 30 12:11:04 UTC 2017
Thank you Alan.
I have eliminated the inner catch block for LinkageError. Here is the updated webrev:
http://cr.openjdk.java.net/~rpatil/8167063/webrev.04
Regards,
Ramanand.
-----Original Message-----
From: Alan Bateman
Sent: Sunday, January 29, 2017 1:06 AM
To: Ramanand Patil <ramanand.patil at oracle.com>
Cc: core-libs-dev <core-libs-dev at openjdk.java.net>
Subject: Re: RFR: 8167063: spurious message "A JNI error has occurred" if start-class cannot be initialized
On 27/01/2017 12:52, Ramanand Patil wrote:
> Thank you Alan and Kumar for your review.
> Here is the updated webrev:
> http://cr.openjdk.java.net/~rpatil/8167063/webrev.03
>
> Changes done:
> 1. LinkageError in method loadMainClass is handled separately and with
> a new message in launcher.properties 2. Test case updated to print the error message(even when test passes) and to print the final test result message as suggested by Kumar.
>
The updated LauncherHelper looks okay although you can drop the catching of LinkageError at L641 because it will be caught by the outer catch at L647.
-Alan.
More information about the core-libs-dev
mailing list