RFR [16/java.xml] 8252354 : Properties :: storeToXML method does not throw ClassCastException when supplied non strings.

Naoto Sato naoto.sato at oracle.com
Tue Sep 1 22:11:43 UTC 2020


Hi Joe,

Looks good to me. The test can declare @Test(expected = CCE.class) to 
eliminate storeToXML(), but I am ok with either way.

Naoto

On 9/1/20 2:12 PM, Joe Wang wrote:
> Please review a fix to report CCE when keys or values are not Strings as 
> specified.
> 
> JBS: https://bugs.openjdk.java.net/browse/JDK-8252354
> 
> webrev: http://cr.openjdk.java.net/~joehw/jdk16/8252354/webrev/
> 
> Thanks,
> Joe


More information about the core-libs-dev mailing list