Bug#709976: java-wrappers: run_jar() handles command line arguments wrong

Vincent Fourmond fourmond at debian.org
Mon May 27 09:53:37 UTC 2013


  Hello,

On Mon, May 27, 2013 at 10:40 AM, Hilko Bengen <bengen at debian.org> wrote:
> The run_jar() function in /usr/lib/java-wrappers/java-wrappers.sh
> contains the following lines:
>
>    if locate_jar $1; then
>         shift
>         run_java -jar "$@"
>     else
>         java_fail "Unable to find jar $1 in $JAVA_JARPATH"
>     fi
>
> If locate_jar() finds the specified JAR file, it places the path into
> $found_jar, but its result is not used.

  I'm wondering how comes I didn't see that before.

  Will be fixed on Wednesday... (no access to my GPG keys before that).

  Cheers,

      Vincent



More information about the pkg-java-maintainers mailing list