Message-ID: From: "vlsi (@vlsi)" To: "pgjdbc/pgjdbc" Date: Mon, 02 Jun 2025 09:54:11 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #3652: chore: update JUnit to 5.13, use @ParameterizedClass In-Reply-To: References: List-Id: X-GitHub-Author-Login: vlsi X-GitHub-Comment-Id: 2929763365 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3652 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/3652#issuecomment-2929763365 Content-Type: text/plain; charset=utf-8 The following test still requires JUnit4 as classloader-leak-prevention [supports JUnit 4 only](https://github.com/mjiderhamn/classloader-leak-prevention/issues/150): ```java @RunWith(JUnitClassloaderRunner.class) @LeakPreventor(DriverSupportsClassUnloadingTest.LeakPreventor.class) @PackagesLoadedOutsideClassLoader( packages = {"java.", "javax.", "jdk.", "com.sun.", "sun.", "org.w3c", "org.junit.", "junit.", "se.jiderhamn."} ) class DriverSupportsClassUnloadingTest { ```