On Tue, 11 May 2021 13:41:53 GMT, Alan Bateman <[email protected]> wrote:
>> test/jdk/java/lang/Class/GetModuleTest.java line 42:
>>
>>> 40: import static org.testng.Assert.*;
>>> 41:
>>> 42: public class GetModuleTest {
>>
>> testGetModuleOnVMAnonymousClass is the only test here that uses ASM so you
>> can remove the imports as part of the removal.
>
> Can you check test/jdkjava/lang/Class/attributes/ClassAttributesTest.java? It
> may minimally need a comment to be updated. That's the only additional test
> that I could find in test/jdk.
Hi Alan,
Thanks for find this. I removed the unneeded imports and @modules from
GetModulesTest.java and updated the comment in ClassAttributesTest.java.
Thanks, Harold
-------------
PR: https://git.openjdk.java.net/jdk/pull/3974