Bug 45003 - Generated class files
Summary: Generated class files
Status: RESOLVED DUPLICATE of bug 36438
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-16 07:23 EDT by Tibor Kiss CLA
Modified: 2003-10-16 07:49 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tibor Kiss CLA 2003-10-16 07:23:17 EDT
I have compiled the following class:
public class Test
{
  public static void main(String[] args) 
  {
    System.out.println( null == null );
  }
}

when I want to launch it, I get the following error:
java.lang.VerifyError: (class: Test, method: main signature: 
([Ljava/lang/String;)V) Expecting to find integer on stack
Exception in thread "main" 

I have tried both 1.3 and 1.4 compatibility.

However, the code runs fine if compiled with javac or jikes.

Java Version:
java version "1.4.2_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)

Cheers
Tibor
Comment 1 Olivier Thomann CLA 2003-10-16 07:49:24 EDT
This is fixed in 3.0 stream and in 2.1 maintenance stream.
Close as duplicate of bug 36438.

*** This bug has been marked as a duplicate of 36438 ***