Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v12]

2021-02-02 Thread Brent Christian
On Tue, 2 Feb 2021 21:00:00 GMT, Mahendra Chhipa 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: > > Generate the source files in JTWork directory. Looks good. Th

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v12]

2021-02-02 Thread Mahendra Chhipa
> https://bugs.openjdk.java.net/browse/JDK-8183372 Mahendra Chhipa has updated the pull request incrementally with one additional commit since the last revision: Generate the source files in JTWork directory. - Changes: - all: https://git.openjdk.java.net/jdk/pull/2170/files

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v3]

2021-02-02 Thread Brent Christian
On Wed, 27 Jan 2021 23:03:55 GMT, Mahendra Chhipa wrote: >> test/jdk/java/lang/Class/getEnclosingClass/EnclosingClassTest.java line 126: >> >>> 124: Path pkg1Dir = Paths.get(SRC_DIR + "/pkg1"); >>> 125: FileUtils.deleteFileTreeWithRetry(pkg1Dir); >>> 126: } >> >> I'm not co

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v11]

2021-02-02 Thread Mahendra Chhipa
> https://bugs.openjdk.java.net/browse/JDK-8183372 Mahendra Chhipa has updated the pull request incrementally with one additional commit since the last revision: Using testNg Assert instead of assert. - Changes: - all: https://git.openjdk.java.net/jdk/pull/2170/files - new: h

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v4]

2021-02-01 Thread Mandy Chung
On Thu, 28 Jan 2021 00:34:08 GMT, Brent Christian wrote: >> Mahendra Chhipa has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Implemented the review comments. > > test/jdk/java/lang/Class/getEnclosingClass/EnclosingClassTest.java line 158:

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v4]

2021-02-01 Thread Brent Christian
On Mon, 1 Feb 2021 23:43:25 GMT, Brent Christian wrote: >> Mahendra Chhipa has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Implemented the review comments. > > Changes requested by bchristi (Reviewer). (I think my comments may no have b

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v10]

2021-02-01 Thread Brent Christian
On Mon, 1 Feb 2021 22:23:02 GMT, Mahendra Chhipa 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: > > throwing the specific exceptions. test/jdk/java/lang/Class/get

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v4]

2021-02-01 Thread Brent Christian
On Wed, 27 Jan 2021 22:44:00 GMT, Mahendra Chhipa 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. Changes requested by bchrist

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v9]

2021-02-01 Thread Mandy Chung
On Mon, 1 Feb 2021 21:54:50 GMT, Mandy Chung wrote: >> 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). I think Brent wants to review it. I wi

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v10]

2021-02-01 Thread Mahendra Chhipa
> https://bugs.openjdk.java.net/browse/JDK-8183372 Mahendra Chhipa has updated the pull request incrementally with one additional commit since the last revision: throwing the specific exceptions. - Changes: - all: https://git.openjdk.java.net/jdk/pull/2170/files - new: https:

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v9]

2021-02-01 Thread Mandy Chung
On Mon, 1 Feb 2021 21:46:00 GMT, Mahendra Chhipa 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

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v9]

2021-02-01 Thread Mahendra Chhipa
> 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. - Changes: - all: https://git.openjdk.java.net/jdk/pull/2170/files - new: https:/

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v8]

2021-02-01 Thread Mandy Chung
On Mon, 1 Feb 2021 20:27:00 GMT, Mahendra Chhipa 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. Thanks for the update. This

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v8]

2021-02-01 Thread Mahendra Chhipa
> 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. - Changes: - all: https://git.openjdk.java.net/jdk/pull/2170/files - new: https:/

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v7]

2021-02-01 Thread Mahendra Chhipa
> 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. - Changes: - all: https://git.openjdk.java.net/jdk/pull/2170/files - new: https:/

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v6]

2021-01-29 Thread Mahendra Chhipa
> https://bugs.openjdk.java.net/browse/JDK-8183372 Mahendra Chhipa has updated the pull request incrementally with one additional commit since the last revision: Reset the formatting. - Changes: - all: https://git.openjdk.java.net/jdk/pull/2170/files - new: https://git.openjd

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v5]

2021-01-27 Thread Mahendra Chhipa
> 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 review comment. - Changes: - all: https://git.openjdk.java.net/jdk/pull/2170/files - new: https://git.

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v3]

2021-01-27 Thread Mahendra Chhipa
On Tue, 26 Jan 2021 22:55:32 GMT, Brent Christian wrote: >> Mahendra Chhipa has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Implemented the review comments. > > test/jdk/java/lang/Class/getEnclosingClass/EnclosingClassTest.java line 126:

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v4]

2021-01-27 Thread Mahendra Chhipa
> 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. - Changes: - all: https://git.openjdk.java.net/jdk/pull/2170/files - new: https:/

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v3]

2021-01-27 Thread Mahendra Chhipa
On Tue, 26 Jan 2021 22:52:15 GMT, Brent Christian wrote: >> Mahendra Chhipa has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Implemented the review comments. > > test/jdk/java/lang/Class/getEnclosingClass/EnclosingClassTest.java line 76:

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v3]

2021-01-27 Thread Mahendra Chhipa
On Tue, 26 Jan 2021 23:25:03 GMT, Florent Guillaume wrote: >> Mahendra Chhipa has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Implemented the review comments. > > test/jdk/java/lang/Class/forName/NonJavaNames.java line 67: > >> 65:

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v3]

2021-01-27 Thread Mahendra Chhipa
On Tue, 26 Jan 2021 22:56:25 GMT, Brent Christian wrote: >> Mahendra Chhipa has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Implemented the review comments. > > test/jdk/java/lang/Class/getEnclosingClass/EnclosingClassTest.java line 158:

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v3]

2021-01-26 Thread Florent Guillaume
On Mon, 25 Jan 2021 20:51:06 GMT, Mahendra Chhipa 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. test/jdk/java/lang/Class/for

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v3]

2021-01-26 Thread Brent Christian
On Mon, 25 Jan 2021 20:51:06 GMT, Mahendra Chhipa 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. I like keeping the changes w

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v2]

2021-01-26 Thread Mandy Chung
On Tue, 26 Jan 2021 22:30:03 GMT, Mandy Chung wrote: >> To avoid the Checkstyle warnings, I added them. > > Is it from your IDE configurations? You can turn off Checkstyle warnings. > This just adds noise. I also assume some of the formatting changes are changed by your IDE suggestion. Can

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v2]

2021-01-26 Thread Mandy Chung
On Mon, 25 Jan 2021 19:33:08 GMT, Mahendra Chhipa wrote: >> test/jdk/java/lang/Class/getEnclosingClass/EnclosingClassTest.java line 103: >> >>> 101: createAndWriteEnclosingClasses(enclosingPath, pkg2File, >>> "pkg1.pkg2"); >>> 102: >>> 103: String javacPath = JDKToolFinder.get

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v3]

2021-01-26 Thread Mandy Chung
On Mon, 25 Jan 2021 20:51:06 GMT, Mahendra Chhipa 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. test/jdk/java/lang/Class/for

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v3]

2021-01-25 Thread Mahendra Chhipa
> 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. - Changes: - all: https://git.openjdk.java.net/jdk/pull/2170/files - new: https:/

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v2]

2021-01-25 Thread Mahendra Chhipa
On Fri, 22 Jan 2021 18:17:33 GMT, Mandy Chung wrote: >> Mahendra Chhipa has updated the pull request incrementally with one >> additional commit since the last revision: >> >> NonJavaName Tests updated >> Used newInstance() method to create the different EnclosingClasses at >> runtime > >

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v2]

2021-01-25 Thread Mahendra Chhipa
On Fri, 22 Jan 2021 18:09:43 GMT, Mandy Chung wrote: >> Mahendra Chhipa has updated the pull request incrementally with one >> additional commit since the last revision: >> >> NonJavaName Tests updated >> Used newInstance() method to create the different EnclosingClasses at >> runtime > >

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v2]

2021-01-25 Thread Mahendra Chhipa
On Fri, 22 Jan 2021 18:16:54 GMT, Mandy Chung wrote: >> Mahendra Chhipa has updated the pull request incrementally with one >> additional commit since the last revision: >> >> NonJavaName Tests updated >> Used newInstance() method to create the different EnclosingClasses at >> runtime > >

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v2]

2021-01-25 Thread Mahendra Chhipa
On Fri, 22 Jan 2021 17:59:33 GMT, Mandy Chung wrote: >> Mahendra Chhipa has updated the pull request incrementally with one >> additional commit since the last revision: >> >> NonJavaName Tests updated >> Used newInstance() method to create the different EnclosingClasses at >> runtime > >

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java

2021-01-22 Thread Brent Christian
On Fri, 22 Jan 2021 16:57:41 GMT, Mahendra Chhipa wrote: >> Can this be done all in `EnclosingClassTest.java`, without a new >> `RunEnclosingClassTest.java`? >> >> Adding the `@BeforeClass` and `@AfterClass` methods to what's there, you may >> just need to >> change the `test()` calls to use

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v2]

2021-01-22 Thread Mandy Chung
On Fri, 22 Jan 2021 16:52:02 GMT, Mahendra Chhipa 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: > > NonJavaName Tests updated > Used newInstance() method to cre

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java

2021-01-22 Thread Mahendra Chhipa
On Thu, 21 Jan 2021 05:19:00 GMT, Brent Christian wrote: >> https://bugs.openjdk.java.net/browse/JDK-8183372 > > Can this be done all in `EnclosingClassTest.java`, without a new > `RunEnclosingClassTest.java`? > > Adding the `@BeforeClass` and `@AfterClass` methods to what's there, you may > j

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java [v2]

2021-01-22 Thread Mahendra Chhipa
> https://bugs.openjdk.java.net/browse/JDK-8183372 Mahendra Chhipa has updated the pull request incrementally with one additional commit since the last revision: NonJavaName Tests updated Used newInstance() method to create the different EnclosingClasses at runtime - Changes:

Re: RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java

2021-01-20 Thread Brent Christian
On Wed, 20 Jan 2021 17:27:43 GMT, Mahendra Chhipa wrote: > https://bugs.openjdk.java.net/browse/JDK-8183372 Can this be done all in `EnclosingClassTest.java`, without a new `RunEnclosingClassTest.java`? Adding the `@BeforeClass` and `@AfterClass` methods to what's there, you may just need to

RFR: JDK-8183372 : Refactor java/lang/Class shell tests to java

2021-01-20 Thread Mahendra Chhipa
https://bugs.openjdk.java.net/browse/JDK-8183372 - Commit messages: - JDK-8183372 : Refactor java/lang/Class shell tests to java Changes: https://git.openjdk.java.net/jdk/pull/2170/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2170&range=00 Issue: https://bugs.openj