Package: x11vnc-data

Version: 0.9.10-1

This is (IMHO) a bug, but this report is mainly a head-ups and
announcement that it is fixed in the x11vnc 0.9.11 upstream tarball.

The debian x11vnc-data jar files were not built to enable compatibility
back to earlier JVM's on the (arbitrary) client-side machine.

For example, connecting to a debian machine with another machine
with java 1.5 plugin in the web browser shows the following error
in the Java console:

Java Plug-in 1.5.0_06
Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
User home directory = /home/runge


----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
p:   reload proxy configuration
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------

java.lang.UnsupportedClassVersionError: Bad version number in .class file
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:147)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:591)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:721)
        at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1757)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:650)
        at sun.applet.AppletPanel.run(AppletPanel.java:324)
        at java.lang.Thread.run(Thread.java:595)

There is no reason not to support earlier JVM's on the client side (e.g.
legacy system, Windows, etc.)  x11vnc-data can go back to java 1.4
(this is when SSL was added.)

In the x11vnc-0.9.11 tarball the Makefiles now contain the string
'-target 1.4 -source 1.4' passed to javac that enables this, so this
support should happen automatically when the x11vnc src is updated to
this version.

Karl



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to