RFR: 8375580: Avoid using ArrayDeque in jdk.internal.loader.URLClassPath [v3]

Daniel Fuchs dfuchs at openjdk.org
Mon Jan 26 15:28:43 UTC 2026


On Mon, 26 Jan 2026 14:05:01 GMT, Eirik Bjørsnøs <eirbjo at openjdk.org> wrote:

>> test/jdk/jdk/internal/loader/URLClassPath/JarClassPathDfsOrder.java line 46:
>> 
>>> 44: /*
>>> 45:  * @test
>>> 46:  * @bug 8375580
>> 
>> The OpenJDK dev guide has been updated to clarify when to use the `@bug` on tests https://openjdk.org/guide/. As per the guideline:
>> 
>>> These bug ids refer to product bugs for which a fix is verified by this test. JBS issues that track changes to the test itself are not listed here.
>> 
>> This wasn't a product bug, so the `@bug` isn't necessary for this new test.
>
>> This wasn't a product bug, so the `@bug` isn't necessary for this new test.
> 
> Yes, thanks! I must have thought this was a "product change", but the requirement is indeed a product bug. Tag removed.

I added `noreg-cleanup` to the issue. The rule is that if there's no test with an `@bug` that refers to the issue, then the issue should have a `noreg-xxx` label. Given that this fix is supposed to be a simple refactoring that leaves the behavior unchanged I believe that `noreg-cleanup` applies.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/29288#discussion_r2728062895


More information about the core-libs-dev mailing list