RFR(XS): 8173163: searching for a versioned entry in a multi-release jar in hotspot is inconsistent with java code

Calvin Cheung calvin.cheung at oracle.com
Wed Jan 25 22:08:33 UTC 2017


Hi Jiangli,

Thanks for taking a look.

On 1/25/17, 1:10 PM, Jiangli Zhou wrote:
> Hi Calvin,
>
> With the change when 'version>  cur_ver', the JVM prints a warning saying "the requested JDK version is not supported in multiple version jars" but uses the highest versioned entry instead of the base entry. The warning should be removed or be made more clear to also reflect the behavior change.
As you've mentioned, before this change, the base entry will be used if 
version > cur_ver and the warning was there. I prefer not to change the 
warning at this point.

thanks,
Calvin
>
> Thanks,
> Jiangli
>
>> On Jan 25, 2017, at 12:06 PM, Calvin Cheung<calvin.cheung at oracle.com>  wrote:
>>
>> Please review this simple bug fix for JDK 9.
>>
>> bug: https://bugs.openjdk.java.net/browse/JDK-8173163
>>
>> webrev: http://cr.openjdk.java.net/~ccheung/8173163/webrev.00/
>>
>> thanks,
>> Calvin


More information about the hotspot-runtime-dev mailing list