RFR 8240524: Removed warnings from test classes

Vipin Sharma vipinsharma85 at gmail.com
Thu Mar 5 17:26:48 UTC 2020

Hi All,

Please review patch to remove warnings from test classes.

Bug : https://bugs.openjdk.java.net/browse/JDK-8240524 <https://bugs.openjdk.java.net/browse/JDK-8240524>
Webrev : http://cr.openjdk.java.net/~clanger/webrevs/8240524.0/ <http://cr.openjdk.java.net/~clanger/webrevs/8240524.0/>

Change description:

Class: test/jdk/java/lang/Boolean/GetBoolean.java
Fixed following warning:
1. "Exception 'java.lang.Exception' is never thrown in the method”

Class: test/jdk/java/lang/Boolean/MakeBooleanComparable.java
Fixed following warnings:
1. Explicit type argument Boolean can be replaced with <> 
2. C-style array declaration of parameter 'args' 

Class: test/jdk/java/lang/Boolean/ParseBoolean.java
Fixed following warning:
1. Exception 'java.lang.Exception' is never thrown in the method


More information about the core-libs-dev mailing list