RFR: 8225093: Special property jdk.boot.class.path.append should not default to empty string [v2]

Harold Seigel hseigel at openjdk.java.net
Mon Dec 20 18:36:49 UTC 2021


On Mon, 20 Dec 2021 17:33:58 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Harold Seigel has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fix test
>
> test/hotspot/jtreg/runtime/BootClassAppendProp/libGetBootClassPathAppendProp.c line 53:
> 
>> 51:   if (err != JVMTI_ERROR_NONE) {
>> 52:     return (*env)->NewStringUTF(env, "wrong error code");
>> 53:   }
> 
> For diagnosability it may be helpful to have this native method throw an exception with the JVMTI error code or alternatively have the return String include the error code rather than a generic message "wrong error code".

Thanks Alan!  I updated the test to include the JVM TI error code in the above 'wrong error code' message.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6868


More information about the serviceability-dev mailing list