Package: free-java-sdk
Version: 1.0-1
Severity: important

All of the utilities in /usr/lib/fjsdk/bin break command line parameters
that contain spaces. For example:

    /usr/bin/gjdoc -header "three word header" src

works just fine, while:

   /usr/lib/fjsdk/bin/gjdoc -header "three word header" src

complains:

    ERROR: Class or package word not found.

The current /usr/lib/fjsdk/bin scripts all result in the call:

    exec <program> $@

and the parameters are tokenized anew, ignoring the original parameter
tokenization (i.e. spaces in original parameters now result in those
parameters being split into multiple parameters.

There may be more elegant ways to solve this, but at the very least the
following should work:

    exec <program> "$1" "$2" "$3" "$4" ...

Charles

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'stable'), (70, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-386
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages free-java-sdk depends on:
ii  classpath-tools           0.0.20020812-1 Free 'javah', 'javap', 'serialver'
ii  fastjar                   1:4.0.1-6      Jar creation utility
ii  jikes-sablevm             1.11.3-1.1     Wrapper for jikes using classes fr
ii  sablevm                   1.11.3-1.1     Free implementation of Java Virtua

Versions of packages free-java-sdk recommends:
ii  libgnujaxp-java               1.3-3      free implementation of jaxp api

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to