Name: mf23781 Date: 08/04/98
Any class file with more than 8200 lines of source code will
do as a test case.
The problem can be reproduced by the following commands:
jdb Big
stop in Big.main
run
stop at Big:8301
jdb says "No code at line 8301, or class is optimized." but
there is code there. The limit seems to be 8200 (approx.)
// ---- Big.java -----
public class Big
{
public static void main (String args[])
{
int i = 0;
// Repeat the following line enough times to exceed the 8200 limit
i++;
// End with:
}
}
======================================================================
- duplicates
-
JDK-4029944 Compiler reports line numbers incorrectly on very big files
-
- Closed
-