The Artima Developer Community
Sponsored Link

Legacy Design Forum
Designing with Dynamic Extension

Advertisement

Advertisement

This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

ClassFormatError

Posted by mark griffin on August 03, 1999 at 1:20 PM

First of all, thanks for all great example code!

I have a class loader that reads class bytes from a socket.
Everything works fine with Linux JDK 1.2.

With NT JDK 1.2.2 defineClass is throwing ClassFormatError: hello/hello
Bad Index in constant pool #8

It doesn't matter:
1) which JDK I use to generate the .class files.
2) what the package and class names are.
3) what case the package and class names are.

Does anyone have any similiar stories or a workaround/fix?

-Thanks!!






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us