Watch, Follow, &
Connect with Us
Public Report
Report From: JBuilder 2007    [ Add a report in this area ]  
Report #:  52830   Status: Reported
Internal compiler error.
Project:  JBuilder 2007 Build #:  v20061116_0221
Version:    2007 1.0 Submitted By:   Marcin Cieslak
Report Type:  Basic functionality failure Date Reported:  10/1/2007 11:41:00 PM
Severity:    Infrequently encountered problem Last Updated:
Platform:    Windows XP Internal Tracking #:  
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
When trying to initialize a variable the way shown in "Steps to Reproduce", you get an "Internal compiler error java.lang.ArrayIndexOutOfBoundsException: 1 at org.eclipse.jdt.internal.compiler.codegen.VerificationTypeInfo.replaceWithElementType(VerificationTypeInfo.java:175)..."
Steps to Reproduce:
Write:
double a = (new double [][] {new double [] {1}})[0][0];
and compile.
Workarounds
This works fine:
double [][] b = new double [][] {new double [] {1}};
double a = b[0][0];
Attachment
None
Comments

None

Server Response from: ETNACODE01