Skip to content

RuntimeClassLoader.findApplicationResource() does not handle the path name correctly  #5821

@mkouba

Description

@mkouba

This method is used in getResource() and getResourceAsStream() but it does not convert the path name in any way and so if you use the / separator in the path (as defined in those methods) it fails on windows machines because it simply walks the app directories and resolves the name against them (but system-dependent separator is used).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions