Package: icedtea-netx
Version: 1.4-3~deb7u2
Severity: normal

When itweb-settings writes out a property to the deployment.properties
file, and the equals character occurs in the property value string,
itweb-settings escapes the character by prefixing it with a backslash.
This may be right if Java code later reads this file (not being a Java
programmer, I can't say for sure).  But this file is (also?) read by the
C++ code of the plugin itself, before Java is launched, in the source
file plugin/icedteanp/IcedTeaNPPlugin.cc.  I'm enough of a C++
programmer to see that this code does no inverse unescaping
transformation; it gets the raw line using a straight iostream read and
uses it as is, except for trimming whitespace from the edges.

As a consequence, trying to set the deployment.plugin.jvm.arguments
property to -Dfoo.bar.BazSetting=on via itweb-settings fails to achieve
the desired result, while adding the property manually without the
escaping works.

-- System Information:
Debian Release: 7.9
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.10.93.5 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages icedtea-netx depends on:
ii  icedtea-netx-common  1.4-3~deb7u2
ii  openjdk-6-jre        6b36-1.13.8-1~deb7u1

icedtea-netx recommends no packages.

icedtea-netx suggests no packages.

-- 
Please *no* private copies of mailing list or newsgroup messages.
Rule 420: All persons more than eight miles high to leave the court.

Reply via email to