Bug#459558: gcjwebplugin is missing proxy support?

Anders Boström anders at netinsight.net
Tue Feb 5 12:49:02 UTC 2008


>>>>> "AB" == Anders Boström <anders at netinsight.net> writes:
>>>>> "MK" == Michael Koch <konqueror at gmx.de> writes:

 AB> When using jamvm and packages from testing, I get this:

 AB> sid:~> /usr/lib/classpath/gappletviewer http://www.gnu.org/software/classpath/
 AB> java.lang.NoClassDefFoundError: gnu/classpath/tools/appletviewer/Main
 AB>    <<No stacktrace available>>
 AB> Caused by: java.lang.ClassNotFoundException: gnu.classpath.tools.appletviewer.Main not found in java.lang.ClassLoader$1{urls=[file:/home/anders/./], parent=null}
 AB>    at java.net.URLClassLoader.findClass(URLClassLoader.java:992)
 AB>    at java.lang.ClassLoader.loadClass(ClassLoader.java:342)
 AB>    at java.lang.ClassLoader$1.loadClass(ClassLoader.java:1112)
 AB>    at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
 AB> sid:~>

 AB> When running cacao and packages from unstable, I get this:

 AB> sid:~> /usr/lib/classpath/gappletviewer http://www.gnu.org/software/classpath/
 AB> WARNING: CURRENTLY GAPPLETVIEWER RUNS WITH NOSECURITY MANAGER.
 AB> THIS MEANS THAT APPLETS YOU LOAD CAN DO ANYTHING A JAVA APPLICATION
 AB> THAT YOU DOWNLOAD AND RUN CAN DO.  BE *VERY* CAREFUL WHICH APPLETS YOU RUN.
 AB> DO NOT USE GAPPLETVIEWER ON YOUR SYSTEM IF YOUR SYSTEM STORES IMPORTANTDATA.
 AB> THIS DATA CAN BE DESTROYED OR STOLEN IF YOU LOAD A MALICIOUS APPLET.

 AB> [press 'c' or 'C' to continue or anything else to quit]
 AB> c

 AB> and nothing happens, not even an error message.

jamvm isn't working at all for me (see above), but cacao seems to
execute the applet. I tried to run
'strace cacao -Xbootclasspath/p:/usr/share/classpath/tools.zip gnu.classpath.tools.appletviewer.Main http://www.gnu.org/software/classpath/'

The output from strace indicates that appletviewer doesn't honor
my proxy settings, and I guess that gcjwebplugin have the
same problem.

Is there a way to configure appletviewer/gcjwebplugin to use a
http-proxy?

gappletviewer-4.1 already has a bug report about missing
proxy support, bug #401410.

/ Anders





More information about the pkg-java-maintainers mailing list