RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v9]
Mandy Chung
mchung at openjdk.java.net
Mon Feb 1 21:57:45 UTC 2021
On Mon, 1 Feb 2021 21:46:00 GMT, Mahendra Chhipa <github.com+34924738+mahendrachhipa at openjdk.org> wrote:
>> https://bugs.openjdk.java.net/browse/JDK-8183372
>
> Mahendra Chhipa has updated the pull request incrementally with one additional commit since the last revision:
>
> Implemented the review comments.
Marked as reviewed by mchung (Reviewer).
test/jdk/java/lang/Class/forName/NonJavaNames.java line 119:
> 117:
> 118: @Test(dataProvider = "goodNonJavaClassNames")
> 119: public void testGoodNonJavaClassNames(String name) throws Throwable {
s/Throwable/ClassFileNotFoundException/
test/jdk/java/lang/Class/forName/NonJavaNames.java line 129:
> 127: try {
> 128: Class.forName(name);
> 129: } catch (Exception e) {
s/Exception/ClassNotFoundException/
-------------
PR: https://git.openjdk.java.net/jdk/pull/2170
More information about the core-libs-dev
mailing list