Re: java.lang.VirtualMachineError: Illegal CONSTANT_Class reference
- From: "Oliver Wong" <owong@xxxxxxxxxxxxxx>
- Date: Thu, 25 May 2006 15:37:54 GMT
"Alex Hunsley" <lard@xxxxxxxxxxxxxxxxxxxxx> wrote in message news:4475c9c2$0$652$5a6aecb4@xxxxxxxxxxxxxxxxxxxx
Going slightly nutso here...
I'm working on a MIDP Java project. It compiles fine, but at runtime I get the following:
java.lang.VirtualMachineError: Illegal CONSTANT_Class reference
This happens when I assign a newly instantiated object to a private class member. I've googled for this error, and found a few scant references to it, but couldn't glean much about it.
If I use Antenna with ant to build the project it doesn't seem to have this problem (not entirely surprisingly).
Does this ring any bells with anyone?
The nitty gritty details:
Using EclipseME plugin in Eclipse 3.1.2 with the Sun Wireless Toolkit 2.2.
(Project settings: compiler compliance level 1.4, .class file compatabillity set to 1.1, source compatability is 1.3.)
The Javadocs say: "VirtualMachineError: Thrown to indicate that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating."
Could it be that you've found a bug in the JVM you're using?
- Oliver
.
- Follow-Ups:
- Re: java.lang.VirtualMachineError: Illegal CONSTANT_Class reference
- From: Alex Hunsley
- Re: java.lang.VirtualMachineError: Illegal CONSTANT_Class reference
- References:
- java.lang.VirtualMachineError: Illegal CONSTANT_Class reference
- From: Alex Hunsley
- java.lang.VirtualMachineError: Illegal CONSTANT_Class reference
- Prev by Date: Re: Apache Tomcat JK configuration
- Next by Date: Re: Excecuting Update Statements
- Previous by thread: java.lang.VirtualMachineError: Illegal CONSTANT_Class reference
- Next by thread: Re: java.lang.VirtualMachineError: Illegal CONSTANT_Class reference
- Index(es):
Relevant Pages
|