Skip to content

easy fix: version.properties clash in multi-JAR classpath #783

@MikOfClassX

Description

@MikOfClassX

The string VERSION is not inited correctly (runtime exception) in a multi-JAR classpath (i.e. when another jar with "version.properties").

Interpeter.java, line 117: change to

   ` ResourceBundle b = ResourceBundle.getBundle("version",java.util.Locale.ROOT,Interpreter.class.getClassLoader());`

This will load "version.properties" locally from the bsh jar.

Cheers!

Mik

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