[jdk11u-dev] RFR: 8308184: Launching java with large number of jars in classpath with java.protocol.handler.pkgs system property set can lead to StackOverflowError [v3]

Martin Doerr mdoerr at openjdk.org
Thu Jun 13 15:58:19 UTC 2024


On Wed, 12 Jun 2024 12:21:53 GMT, Sruthy Jayan <duke at openjdk.org> wrote:

>> This is the backport of the issue : [JDK-8308184](https://bugs.openjdk.org/browse/JDK-8308184)
>> 
>> Launching java with large number of jars in classpath with java.protocol.handler.pkgs system property set can lead to StackOverflowError
>
> Sruthy Jayan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update LargeClasspathWithPkgPrefix.java
>   
>   Java multi-line string literals are supported only from JDK 13. So adding the required changes

Can't you use test/jdk/lib/testlibrary/java/util/jar/JarBuilder.java? It has been moved by https://github.com/openjdk/jdk/commit/dda0c6cecd38b4897c377e10ffb0ebe75360ac43.

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

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2749#issuecomment-2166080447


More information about the jdk-updates-dev mailing list