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

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

@ericvdmaarel

Description

@ericvdmaarel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions