Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JDK 1.4 class format problems?

0 views
Skip to first unread message

Tim Tyler

unread,
Feb 15, 2002, 3:00:52 PM2/15/02
to
One of my programs seems to fail under JDK 1.4.

The applet at:
http://texturegarden.com/preview/
...produces no animated textures under JDK 1.4.

There are no errors - just no display.

Running as an application offline produces here:
C:\Documents\Java\texturegarden>java TextureGarden
document_base:C:\Documents\Java\texturegarden\
Exception in thread "main" java.lang.ClassFormatError: Texture (Invalid
start_pc length in local var table)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
at TextureContainer.<init>(TextureContainer.java:66)
at TextureArray.<init>(TextureArray.java:40)
at TextureGarden.start(TextureGarden.java:1139)
at TTAppletFrame.<init>(TTAppletFrame.java:40)
at TextureGarden.main(TextureGarden.java:1990)

This program works without issue on other JVMs.

There seem to be two separate problems. I don't know what the first
failure is - but I speculate that the second may be caused by more
stringent class verification - something that seems likely to cause
program failures elsewhere.

Reports relating to whether this applet fails on other people's machines
(under v.1.4) would be warmly welcomed.
--
__________
|im |yler Index of my domains: http://timtyler.org/ t...@iname.com

Tim Tyler

unread,
Feb 15, 2002, 4:34:26 PM2/15/02
to
Tim Tyler <t...@iname.com> wrote:

: One of my programs seems to fail under JDK 1.4.

: The applet at:
: http://texturegarden.com/preview/
: ...produces no animated textures under JDK 1.4.

: There are no errors - just no display.

It turns out this was also a problem with Sun's 1.3.1 JVM - though the
program worked OK under other JVMs.

I've recompiled everything - and it has started working again...

0 new messages