Bug 83183 - [compiler][1.5] VerifyError from compiled var args example
Summary: [compiler][1.5] VerifyError from compiled var args example
Status: RESOLVED DUPLICATE of bug 83536
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M5   Edit
Assignee: Philipe Mulet CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-19 08:28 EST by Martin Aeschlimann CLA
Modified: 2005-01-24 18:25 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Aeschlimann CLA 2005-01-19 08:28:40 EST
20050118

The classfile generated from the following code can not be run, it returns with
a VerifyError.

class A {
  public static void main(String[] args) {
    b(new boolean[0]);
  }
  
  static void b(Object...s) {
     System.out.println(s.length);
  }
}
Comment 1 Philipe Mulet CLA 2005-01-24 18:25:27 EST

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