[12] RFR: 8214170: ResourceBundle.Control.newBundle should throw IllegalAccessException when constructor of the resource bundle is not public.

Naoto Sato naoto.sato at oracle.com
Tue Nov 27 01:07:13 UTC 2018


Hi,

Please review the fix to the following issue:

https://bugs.openjdk.java.net/browse/JDK-8214170

The proposed changeset is located at:

http://cr.openjdk.java.net/~naoto/8214170/webrev.00/

The existing logic to determine if there is a pubic constructor for the 
ResourceBundle class is incorrect. Moved the catch clause for 
NoSuchMethodException to handle it correctly. A shell based test was 
modified according to this (intentionally omitted the case for windows 
as chmod does not work - it will be addressed with the test case clean 
up (8213127).

Naoto


More information about the core-libs-dev mailing list