On Fri, 22 Jan 2021 16:57:41 GMT, Mahendra Chhipa
<[email protected]> 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 reflection - something along the lines of:
>>
>>> test(`Class.forName("EnclosingClass").getDeclaredConstructor().newInstance());`
>
> Review comments implemented.
Can the new code be added to the existing `NonJavaNames.java` instead of adding
a new `NonJavaNameTest.java` file?
-------------
PR: https://git.openjdk.java.net/jdk/pull/2170