Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

ArrayIndexOutOfBoundsException thrown from org.glassfish.rmic.tools.java.ClassPath #31

Open
ericvdmaarel opened this issue Sep 15, 2020 · 0 comments

Comments

@ericvdmaarel
Copy link

This ClassPath utility tries to build a path array ClassPathEntry elements. It allocate an array for which the size is determined by counting the number of File.pathSeparatorChars in the provided path string. Then it goes on and fills it with elements read from the class path string. Finally it tries to the jrt:/ virtual file system. Since this was not anticipated the integer used for the index in this array is larger than the array allows, resulting in an ArrayIndexOutOfBoundsException

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant