Red Hat Bugzilla – Bug 351381
applet bytecode verification errors
Last modified: 2008-11-18 13:25:06 EST
+++ This bug was initially created as a clone of Bug #333721 +++
[pruned unrelated comment]
-- Additional comment from email@example.com on 2007-10-24 16:57 EST --
Here is more applets which end up with "Start: applet not initialized".
Those on the following pages:
Various applets from http://www.colorado.edu/physics/2000/ do work
although I do not know if the list above cannot be extended if one
would try all of them (and a pretty extensive collection is available
at that location). With java plugin from Sun all the above are fine.
This was checked with
-- Additional comment from firstname.lastname@example.org on 2007-10-24 16:59 EST --
Oops! Read http://www.colorado.edu/physics/2000/tomography/auto_rib_cage.html
instead of "auto_rig..."
-- Additional comment from email@example.com on 2007-10-24 17:19 EST --
I cant seem to get these applets working with any java plugins from Sun (1.5,
1.6 and 1.7). What version did you use?
Also, this seems to fail with OpenJDK. I don't believe it is an
IcedTea/gcjwebplugin bug. Changing status to "NEED INFO"
Created attachment 246941 [details]
image from a working applet
> I cant seem to get these applets working with any java plugins from Sun
That is somewhat strange. Although indeed the first one on that list
appears to develop some troubles (probably it got "fixed" in the
meantime as it worked when I tried it in time of the report) the other
three work for me just fine. I attach a screenshot of a relevant screen
fragment from firefox on F7 running the fourth one, i.e. "auto_rib_cage",
on that list. I also tried with CentOS4 installation with firefox
and galeon. Every time this worked. When starting this example I see
Applet tomography/Tomography started
at a status line at the bottom of a browser and everything looks
In all tests above I used a plugin from Sun java 220.127.116.11.
Those applets also used to work for me with earlier Sun versions
but I do not have that on hands anymore.
Just to be sure I rechecked the current situtation using
in case something changed in applets, and they still none of
Looking into it. Thanks for the info.
There is this
URL with a "visual" index of assorted applets. In particular
all those referenced in the original report are present there.
give a reference to nearly anything on that site :-( ).
Have you tried these applets with Sun's appletviewer? I just tested them with
1.5.0 and they do not work. I am curious if they only work with Sun's Java Plugin:
Invalid start_pc 65535 in LocalVariableTable in class file tomography/Figure
at java.lang.ClassLoader.defineClass1(Native Method)
java.lang.VerifyError: (class: bohr/TungstenAtom, method: detectCollisions
signature: ()V) Illegal use of nonvirtual function call
at java.lang.Class.getDeclaredConstructors0(Native Method)
> Have you tried these applets with Sun's appletviewer?
I did not have appletviewer even installed until now. :-)
(I used, more or less, nosrc.rpm from http://www.jpackage.org/
to repackage Sun stuff as a series of rpms and I did not bother
with installing java-1.6.0-sun-devel before you asked).
> I am curious if they only work with Sun's Java Plugin
That looks like the case. I am seeing exactly the same spillage
in appletviewer from java-1.6.0-sun-18.104.22.168 like you quote in
comment #6. No idea how those thing work with plugins.
That is clearly developed under Windows:
Maybe java there is much more lax? The same
"... Invalid start_pc 65535 in LocalVariableTable ..." error
shows up with two other URLs from the original report too.
Not that surprising as the same class file is in use.
Hm, apparently a contact address is firstname.lastname@example.org
Could you bug those guys? I am very naive when it comes to Java.
It seems as though Sun's plugin has a bytecode transformer which converts
erronous class files to something usable.
IcedTea's plugin does not have this at the moment.
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
Adding email@example.com to the cc list as the manager of the disabled user firstname.lastname@example.org who reported this bug
I'm closing this: the class files are not valid, and there's nothing in the VM spec that says we should not reject them. In fact, the VM spec says we should.
> the class files are not valid ...
By this token it would be impossible to boot most of "PC class" machines as BIOSes are usually horribly broken if you follow specs. OTOH at lest with a plugin from java-1.6.0-sun-22.214.171.124 on an applet from http://www.colorado.edu/physics/2000/xray/making_xrays.html I am getting an error and "details" show:
java.lang.VerifyError: (class: bohr/TungstenAtom, method: detectCollisions signature: ()V) Illegal use of nonvirtual function call
at java.lang.Class.getDeclaredConstructors0(Native Method)
If there is some hope that this will get fixed? Chances seem to be slim as this used to "work" before. OTOH it is easy to collect quickly an impressive collection of complaints from various applets on http://www.colorado.edu/physics/2000/ site even if they do show something.
As I suggested before - if somebody who knows first things about Java, and that is not me, would contact email@example.com that would likely be good.
> If there is some hope that this will get fixed?
Unlikely. It should just be a matter of recompiling the applets with
a javac that is not broken. Surely eventually UColorado will simply
do the Right Thing and recompile the applets.
The question about "hope" (s/If/Is/) was really about a preceding trace and not java distributed with Fedora. I also think "unlikely", at least without some prodding, contrary to the opinion expressed in the last sentence of the previous comment. :-)
Some of these "out-of-specs" applets still work, more or less, with java-1.6.0-sun-plugin-126.96.36.199 so an incentive to fix them does not look so great.