On Tue, 3 Feb 2026 14:24:21 GMT, SendaoYan <[email protected]> wrote: > Hi all, > > This PR merge test/hotspot/jtreg/vmTestbase/nsk/share/ClassUnloader.java to > test/lib/jdk/test/lib/classloader/ClassUnloadCommon.java, and make the > vmTestbase tests use the ClassUnloadCommon. > > The core method in test/hotspot/jtreg/vmTestbase/nsk/share/ClassUnloader.java > is `boolean unloadClass()`, and the core method in > test/lib/jdk/test/lib/classloader/ClassUnloadCommon.java is `Set<String> > triggerUnloading(List<String> classNames)`, it's not easy to combile these > two methods to one. So I keep all these two methods. > > Additional testing: > > - [x] Full jtreg tests include vmTestbase
Was there any merger of the functionality of these two files, or did you just move the ClassUnloader.java contents into ClassUnloadCommon.java? ------------- PR Comment: https://git.openjdk.org/jdk/pull/29545#issuecomment-3843942798
