Bug#1125214: procyon-decompiler: launcher script missing quotes around variables
Ryan Koppenhaver
ryan.koppenhaver at gmail.com
Sat Jan 10 23:01:20 GMT 2026
Package: procyon-decompiler
Version: 0.6.0-3
Severity: normal
X-Debbugs-Cc: ryan.koppenhaver at gmail.com
Dear Maintainer,
The `/usr/bin/procyon` launcher script installed by the the
`procyon-decompiler` package invokes the tool as:
java -cp $CLASSPATH com.strobel.decompiler.DecompilerDriver $@
The lack of quotes around "$@" causes the shell to perform word
splitting on any arguments passed to the script. For example, the invocation
procyon "This Is An Example.jar"
results in the following error:
!!! ERROR: Failed to load class This.
!!! ERROR: Failed to load class Is.
!!! ERROR: Failed to load class An.
java.io.FileNotFoundException: File not found: Example.jar
at com.strobel.decompiler.DecompilerDriver.decompileJar(DecompilerDriver.java:224)
at com.strobel.decompiler.DecompilerDriver.main(DecompilerDriver.java:145)
It's possible to work around this issue by renaming the target file.
The script should also quote "$CLASSPATH" on that line for the same reason.
-- System Information:
Debian Release: 13.1
APT prefers stable
APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.43+deb13-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages procyon-decompiler depends on:
ii default-jre-headless 2:1.21-76
ii libjcommander-java 1.71-4
ii libprocyon-java 0.6.0-3
procyon-decompiler recommends no packages.
procyon-decompiler suggests no packages.
-- no debconf information
More information about the pkg-java-maintainers
mailing list