Can not instanciate more than 63 classes at one time.
I know there is probably a bug for this already, but better
be safe than sorry.
I get the following error at compile time:
test100.java:629: Statement not reached.
var63.foo();
^
test100.java:629: Variable var63 may not have been initialized.
var63.foo();
^
test100.java:630: Statement not reached.
test64 var64 = new test64();
^
3 errors
TEST CASE
---------
class test1 {
void foo () {
System.out.println("test1");
}
}
class test2 {
void foo () {
System.out.println("test2");
}
}
class test3 {
void foo () {
System.out.println("test3");
}
}
class test4 {
void foo () {
System.out.println("test4");
}
}
class test5 {
void foo () {
System.out.println("test5");
}
}
class test6 {
void foo () {
System.out.println("test6");
}
}
class test7 {
void foo () {
System.out.println("test7");
}
}
class test8 {
void foo () {
System.out.println("test8");
}
}
class test9 {
void foo () {
System.out.println("test9");
}
}
class test10 {
void foo () {
System.out.println("test10");
}
}
class test11 {
void foo () {
System.out.println("test11");
}
}
class test12 {
void foo () {
System.out.println("test12");
}
}
class test13 {
void foo () {
System.out.println("test13");
}
}
class test14 {
void foo () {
System.out.println("test14");
}
}
class test15 {
void foo () {
System.out.println("test15");
}
}
class test16 {
void foo () {
System.out.println("test16");
}
}
class test17 {
void foo () {
System.out.println("test17");
}
}
class test18 {
void foo () {
System.out.println("test18");
}
}
class test19 {
void foo () {
System.out.println("test19");
}
}
class test20 {
void foo () {
System.out.println("test20");
}
}
class test21 {
void foo () {
System.out.println("test21");
}
}
class test22 {
void foo () {
System.out.println("test22");
}
}
class test23 {
void foo () {
System.out.println("test23");
}
}
class test24 {
void foo () {
System.out.println("test24");
}
}
class test25 {
void foo () {
System.out.println("test25");
}
}
class test26 {
void foo () {
System.out.println("test26");
}
}
class test27 {
void foo () {
System.out.println("test27");
}
}
class test28 {
void foo () {
System.out.println("test28");
}
}
class test29 {
void foo () {
System.out.println("test29");
}
}
class test30 {
void foo () {
System.out.println("test30");
}
}
class test31 {
void foo () {
System.out.println("test31");
}
}
class test32 {
void foo () {
System.out.println("test32");
}
}
class test33 {
void foo () {
System.out.println("test33");
}
}
class test34 {
void foo () {
System.out.println("test34");
}
}
class test35 {
void foo () {
System.out.println("test35");
}
}
class test36 {
void foo () {
System.out.println("test36");
}
}
class test37 {
void foo () {
System.out.println("test37");
}
}
class test38 {
void foo () {
System.out.println("test38");
}
}
class test39 {
void foo () {
System.out.println("test39");
}
}
class test40 {
void foo () {
System.out.println("test40");
}
}
class test41 {
void foo () {
System.out.println("test41");
}
}
class test42 {
void foo () {
System.out.println("test42");
}
}
class test43 {
void foo () {
System.out.println("test43");
}
}
class test44 {
void foo () {
System.out.println("test44");
}
}
class test45 {
void foo () {
System.out.println("test45");
}
}
class test46 {
void foo () {
System.out.println("test46");
}
}
class test47 {
void foo () {
System.out.println("test47");
}
}
class test48 {
void foo () {
System.out.println("test48");
}
}
class test49 {
void foo () {
System.out.println("test49");
}
}
class test50 {
void foo () {
System.out.println("test50");
}
}
class test51 {
void foo () {
System.out.println("test51");
}
}
class test52 {
void foo () {
System.out.println("test52");
}
}
class test53 {
void foo () {
System.out.println("test53");
}
}
class test54 {
void foo () {
System.out.println("test54");
}
}
class test55 {
void foo () {
System.out.println("test55");
}
}
class test56 {
void foo () {
System.out.println("test56");
}
}
class test57 {
void foo () {
System.out.println("test57");
}
}
class test58 {
void foo () {
System.out.println("test58");
}
}
class test59 {
void foo () {
System.out.println("test59");
}
}
class test60 {
void foo () {
System.out.println("test60");
}
}
class test61 {
void foo () {
System.out.println("test61");
}
}
class test62 {
void foo () {
System.out.println("test62");
}
}
class test63 {
void foo () {
System.out.println("test63");
}
}
class test64 {
void foo () {
System.out.println("test64");
}
}
class test65 {
void foo () {
System.out.println("test65");
}
}
class test66 {
void foo () {
System.out.println("test66");
}
}
class test67 {
void foo () {
System.out.println("test67");
}
}
class test68 {
void foo () {
System.out.println("test68");
}
}
class test69 {
void foo () {
System.out.println("test69");
}
}
class test70 {
void foo () {
System.out.println("test70");
}
}
class test71 {
void foo () {
System.out.println("test71");
}
}
class test72 {
void foo () {
System.out.println("test72");
}
}
class test73 {
void foo () {
System.out.println("test73");
}
}
class test74 {
void foo () {
System.out.println("test74");
}
}
class test75 {
void foo () {
System.out.println("test75");
}
}
class test76 {
void foo () {
System.out.println("test76");
}
}
class test77 {
void foo () {
System.out.println("test77");
}
}
class test78 {
void foo () {
System.out.println("test78");
}
}
class test79 {
void foo () {
System.out.println("test79");
}
}
class test80 {
void foo () {
System.out.println("test80");
}
}
class test81 {
void foo () {
System.out.println("test81");
}
}
class test82 {
void foo () {
System.out.println("test82");
}
}
class test83 {
void foo () {
System.out.println("test83");
}
}
class test84 {
void foo () {
System.out.println("test84");
}
}
class test85 {
void foo () {
System.out.println("test85");
}
}
class test86 {
void foo () {
System.out.println("test86");
}
}
class test87 {
void foo () {
System.out.println("test87");
}
}
class test88 {
void foo () {
System.out.println("test88");
}
}
class test89 {
void foo () {
System.out.println("test89");
}
}
class test90 {
void foo () {
System.out.println("test90");
}
}
class test91 {
void foo () {
System.out.println("test91");
}
}
class test92 {
void foo () {
System.out.println("test92");
}
}
class test93 {
void foo () {
System.out.println("test93");
}
}
class test94 {
void foo () {
System.out.println("test94");
}
}
class test95 {
void foo () {
System.out.println("test95");
}
}
class test96 {
void foo () {
System.out.println("test96");
}
}
class test97 {
void foo () {
System.out.println("test97");
}
}
class test98 {
void foo () {
System.out.println("test98");
}
}
class test99 {
void foo () {
System.out.println("test99");
}
}
class test100 {
void foo () {
System.out.println("test100");
}
}
class test {
public static void main (String args[]) {
test1 var1 = new test1();
var1.foo();
test2 var2 = new test2();
var2.foo();
test3 var3 = new test3();
var3.foo();
test4 var4 = new test4();
var4.foo();
test5 var5 = new test5();
var5.foo();
test6 var6 = new test6();
var6.foo();
test7 var7 = new test7();
var7.foo();
test8 var8 = new test8();
var8.foo();
test9 var9 = new test9();
var9.foo();
test10 var10 = new test10();
var10.foo();
test11 var11 = new test11();
var11.foo();
test12 var12 = new test12();
var12.foo();
test13 var13 = new test13();
var13.foo();
test14 var14 = new test14();
var14.foo();
test15 var15 = new test15();
var15.foo();
test16 var16 = new test16();
var16.foo();
test17 var17 = new test17();
var17.foo();
test18 var18 = new test18();
var18.foo();
test19 var19 = new test19();
var19.foo();
test20 var20 = new test20();
var20.foo();
test21 var21 = new test21();
var21.foo();
test22 var22 = new test22();
var22.foo();
test23 var23 = new test23();
var23.foo();
test24 var24 = new test24();
var24.foo();
test25 var25 = new test25();
var25.foo();
test26 var26 = new test26();
var26.foo();
test27 var27 = new test27();
var27.foo();
test28 var28 = new test28();
var28.foo();
test29 var29 = new test29();
var29.foo();
test30 var30 = new test30();
var30.foo();
test31 var31 = new test31();
var31.foo();
test32 var32 = new test32();
var32.foo();
test33 var33 = new test33();
var33.foo();
test34 var34 = new test34();
var34.foo();
test35 var35 = new test35();
var35.foo();
test36 var36 = new test36();
var36.foo();
test37 var37 = new test37();
var37.foo();
test38 var38 = new test38();
var38.foo();
test39 var39 = new test39();
var39.foo();
test40 var40 = new test40();
var40.foo();
test41 var41 = new test41();
var41.foo();
test42 var42 = new test42();
var42.foo();
test43 var43 = new test43();
var43.foo();
test44 var44 = new test44();
var44.foo();
test45 var45 = new test45();
var45.foo();
test46 var46 = new test46();
var46.foo();
test47 var47 = new test47();
var47.foo();
test48 var48 = new test48();
var48.foo();
test49 var49 = new test49();
var49.foo();
test50 var50 = new test50();
var50.foo();
test51 var51 = new test51();
var51.foo();
test52 var52 = new test52();
var52.foo();
test53 var53 = new test53();
var53.foo();
test54 var54 = new test54();
var54.foo();
test55 var55 = new test55();
var55.foo();
test56 var56 = new test56();
var56.foo();
test57 var57 = new test57();
var57.foo();
test58 var58 = new test58();
var58.foo();
test59 var59 = new test59();
var59.foo();
test60 var60 = new test60();
var60.foo();
test61 var61 = new test61();
var61.foo();
test62 var62 = new test62();
var62.foo();
test63 var63 = new test63();
var63.foo();
test64 var64 = new test64();
var64.foo();
test65 var65 = new test65();
var65.foo();
test66 var66 = new test66();
var66.foo();
test67 var67 = new test67();
var67.foo();
test68 var68 = new test68();
var68.foo();
test69 var69 = new test69();
var69.foo();
test70 var70 = new test70();
var70.foo();
test71 var71 = new test71();
var71.foo();
test72 var72 = new test72();
var72.foo();
test73 var73 = new test73();
var73.foo();
test74 var74 = new test74();
var74.foo();
test75 var75 = new test75();
var75.foo();
test76 var76 = new test76();
var76.foo();
test77 var77 = new test77();
var77.foo();
test78 var78 = new test78();
var78.foo();
test79 var79 = new test79();
var79.foo();
test80 var80 = new test80();
var80.foo();
test81 var81 = new test81();
var81.foo();
test82 var82 = new test82();
var82.foo();
test83 var83 = new test83();
var83.foo();
test84 var84 = new test84();
var84.foo();
test85 var85 = new test85();
var85.foo();
test86 var86 = new test86();
var86.foo();
test87 var87 = new test87();
var87.foo();
test88 var88 = new test88();
var88.foo();
test89 var89 = new test89();
var89.foo();
test90 var90 = new test90();
var90.foo();
test91 var91 = new test91();
var91.foo();
test92 var92 = new test92();
var92.foo();
test93 var93 = new test93();
var93.foo();
test94 var94 = new test94();
var94.foo();
test95 var95 = new test95();
var95.foo();
test96 var96 = new test96();
var96.foo();
test97 var97 = new test97();
var97.foo();
test98 var98 = new test98();
var98.foo();
test99 var99 = new test99();
var99.foo();
test100 var100 = new test100();
var100.foo();
}
}
I know there is probably a bug for this already, but better
be safe than sorry.
I get the following error at compile time:
test100.java:629: Statement not reached.
var63.foo();
^
test100.java:629: Variable var63 may not have been initialized.
var63.foo();
^
test100.java:630: Statement not reached.
test64 var64 = new test64();
^
3 errors
TEST CASE
---------
class test1 {
void foo () {
System.out.println("test1");
}
}
class test2 {
void foo () {
System.out.println("test2");
}
}
class test3 {
void foo () {
System.out.println("test3");
}
}
class test4 {
void foo () {
System.out.println("test4");
}
}
class test5 {
void foo () {
System.out.println("test5");
}
}
class test6 {
void foo () {
System.out.println("test6");
}
}
class test7 {
void foo () {
System.out.println("test7");
}
}
class test8 {
void foo () {
System.out.println("test8");
}
}
class test9 {
void foo () {
System.out.println("test9");
}
}
class test10 {
void foo () {
System.out.println("test10");
}
}
class test11 {
void foo () {
System.out.println("test11");
}
}
class test12 {
void foo () {
System.out.println("test12");
}
}
class test13 {
void foo () {
System.out.println("test13");
}
}
class test14 {
void foo () {
System.out.println("test14");
}
}
class test15 {
void foo () {
System.out.println("test15");
}
}
class test16 {
void foo () {
System.out.println("test16");
}
}
class test17 {
void foo () {
System.out.println("test17");
}
}
class test18 {
void foo () {
System.out.println("test18");
}
}
class test19 {
void foo () {
System.out.println("test19");
}
}
class test20 {
void foo () {
System.out.println("test20");
}
}
class test21 {
void foo () {
System.out.println("test21");
}
}
class test22 {
void foo () {
System.out.println("test22");
}
}
class test23 {
void foo () {
System.out.println("test23");
}
}
class test24 {
void foo () {
System.out.println("test24");
}
}
class test25 {
void foo () {
System.out.println("test25");
}
}
class test26 {
void foo () {
System.out.println("test26");
}
}
class test27 {
void foo () {
System.out.println("test27");
}
}
class test28 {
void foo () {
System.out.println("test28");
}
}
class test29 {
void foo () {
System.out.println("test29");
}
}
class test30 {
void foo () {
System.out.println("test30");
}
}
class test31 {
void foo () {
System.out.println("test31");
}
}
class test32 {
void foo () {
System.out.println("test32");
}
}
class test33 {
void foo () {
System.out.println("test33");
}
}
class test34 {
void foo () {
System.out.println("test34");
}
}
class test35 {
void foo () {
System.out.println("test35");
}
}
class test36 {
void foo () {
System.out.println("test36");
}
}
class test37 {
void foo () {
System.out.println("test37");
}
}
class test38 {
void foo () {
System.out.println("test38");
}
}
class test39 {
void foo () {
System.out.println("test39");
}
}
class test40 {
void foo () {
System.out.println("test40");
}
}
class test41 {
void foo () {
System.out.println("test41");
}
}
class test42 {
void foo () {
System.out.println("test42");
}
}
class test43 {
void foo () {
System.out.println("test43");
}
}
class test44 {
void foo () {
System.out.println("test44");
}
}
class test45 {
void foo () {
System.out.println("test45");
}
}
class test46 {
void foo () {
System.out.println("test46");
}
}
class test47 {
void foo () {
System.out.println("test47");
}
}
class test48 {
void foo () {
System.out.println("test48");
}
}
class test49 {
void foo () {
System.out.println("test49");
}
}
class test50 {
void foo () {
System.out.println("test50");
}
}
class test51 {
void foo () {
System.out.println("test51");
}
}
class test52 {
void foo () {
System.out.println("test52");
}
}
class test53 {
void foo () {
System.out.println("test53");
}
}
class test54 {
void foo () {
System.out.println("test54");
}
}
class test55 {
void foo () {
System.out.println("test55");
}
}
class test56 {
void foo () {
System.out.println("test56");
}
}
class test57 {
void foo () {
System.out.println("test57");
}
}
class test58 {
void foo () {
System.out.println("test58");
}
}
class test59 {
void foo () {
System.out.println("test59");
}
}
class test60 {
void foo () {
System.out.println("test60");
}
}
class test61 {
void foo () {
System.out.println("test61");
}
}
class test62 {
void foo () {
System.out.println("test62");
}
}
class test63 {
void foo () {
System.out.println("test63");
}
}
class test64 {
void foo () {
System.out.println("test64");
}
}
class test65 {
void foo () {
System.out.println("test65");
}
}
class test66 {
void foo () {
System.out.println("test66");
}
}
class test67 {
void foo () {
System.out.println("test67");
}
}
class test68 {
void foo () {
System.out.println("test68");
}
}
class test69 {
void foo () {
System.out.println("test69");
}
}
class test70 {
void foo () {
System.out.println("test70");
}
}
class test71 {
void foo () {
System.out.println("test71");
}
}
class test72 {
void foo () {
System.out.println("test72");
}
}
class test73 {
void foo () {
System.out.println("test73");
}
}
class test74 {
void foo () {
System.out.println("test74");
}
}
class test75 {
void foo () {
System.out.println("test75");
}
}
class test76 {
void foo () {
System.out.println("test76");
}
}
class test77 {
void foo () {
System.out.println("test77");
}
}
class test78 {
void foo () {
System.out.println("test78");
}
}
class test79 {
void foo () {
System.out.println("test79");
}
}
class test80 {
void foo () {
System.out.println("test80");
}
}
class test81 {
void foo () {
System.out.println("test81");
}
}
class test82 {
void foo () {
System.out.println("test82");
}
}
class test83 {
void foo () {
System.out.println("test83");
}
}
class test84 {
void foo () {
System.out.println("test84");
}
}
class test85 {
void foo () {
System.out.println("test85");
}
}
class test86 {
void foo () {
System.out.println("test86");
}
}
class test87 {
void foo () {
System.out.println("test87");
}
}
class test88 {
void foo () {
System.out.println("test88");
}
}
class test89 {
void foo () {
System.out.println("test89");
}
}
class test90 {
void foo () {
System.out.println("test90");
}
}
class test91 {
void foo () {
System.out.println("test91");
}
}
class test92 {
void foo () {
System.out.println("test92");
}
}
class test93 {
void foo () {
System.out.println("test93");
}
}
class test94 {
void foo () {
System.out.println("test94");
}
}
class test95 {
void foo () {
System.out.println("test95");
}
}
class test96 {
void foo () {
System.out.println("test96");
}
}
class test97 {
void foo () {
System.out.println("test97");
}
}
class test98 {
void foo () {
System.out.println("test98");
}
}
class test99 {
void foo () {
System.out.println("test99");
}
}
class test100 {
void foo () {
System.out.println("test100");
}
}
class test {
public static void main (String args[]) {
test1 var1 = new test1();
var1.foo();
test2 var2 = new test2();
var2.foo();
test3 var3 = new test3();
var3.foo();
test4 var4 = new test4();
var4.foo();
test5 var5 = new test5();
var5.foo();
test6 var6 = new test6();
var6.foo();
test7 var7 = new test7();
var7.foo();
test8 var8 = new test8();
var8.foo();
test9 var9 = new test9();
var9.foo();
test10 var10 = new test10();
var10.foo();
test11 var11 = new test11();
var11.foo();
test12 var12 = new test12();
var12.foo();
test13 var13 = new test13();
var13.foo();
test14 var14 = new test14();
var14.foo();
test15 var15 = new test15();
var15.foo();
test16 var16 = new test16();
var16.foo();
test17 var17 = new test17();
var17.foo();
test18 var18 = new test18();
var18.foo();
test19 var19 = new test19();
var19.foo();
test20 var20 = new test20();
var20.foo();
test21 var21 = new test21();
var21.foo();
test22 var22 = new test22();
var22.foo();
test23 var23 = new test23();
var23.foo();
test24 var24 = new test24();
var24.foo();
test25 var25 = new test25();
var25.foo();
test26 var26 = new test26();
var26.foo();
test27 var27 = new test27();
var27.foo();
test28 var28 = new test28();
var28.foo();
test29 var29 = new test29();
var29.foo();
test30 var30 = new test30();
var30.foo();
test31 var31 = new test31();
var31.foo();
test32 var32 = new test32();
var32.foo();
test33 var33 = new test33();
var33.foo();
test34 var34 = new test34();
var34.foo();
test35 var35 = new test35();
var35.foo();
test36 var36 = new test36();
var36.foo();
test37 var37 = new test37();
var37.foo();
test38 var38 = new test38();
var38.foo();
test39 var39 = new test39();
var39.foo();
test40 var40 = new test40();
var40.foo();
test41 var41 = new test41();
var41.foo();
test42 var42 = new test42();
var42.foo();
test43 var43 = new test43();
var43.foo();
test44 var44 = new test44();
var44.foo();
test45 var45 = new test45();
var45.foo();
test46 var46 = new test46();
var46.foo();
test47 var47 = new test47();
var47.foo();
test48 var48 = new test48();
var48.foo();
test49 var49 = new test49();
var49.foo();
test50 var50 = new test50();
var50.foo();
test51 var51 = new test51();
var51.foo();
test52 var52 = new test52();
var52.foo();
test53 var53 = new test53();
var53.foo();
test54 var54 = new test54();
var54.foo();
test55 var55 = new test55();
var55.foo();
test56 var56 = new test56();
var56.foo();
test57 var57 = new test57();
var57.foo();
test58 var58 = new test58();
var58.foo();
test59 var59 = new test59();
var59.foo();
test60 var60 = new test60();
var60.foo();
test61 var61 = new test61();
var61.foo();
test62 var62 = new test62();
var62.foo();
test63 var63 = new test63();
var63.foo();
test64 var64 = new test64();
var64.foo();
test65 var65 = new test65();
var65.foo();
test66 var66 = new test66();
var66.foo();
test67 var67 = new test67();
var67.foo();
test68 var68 = new test68();
var68.foo();
test69 var69 = new test69();
var69.foo();
test70 var70 = new test70();
var70.foo();
test71 var71 = new test71();
var71.foo();
test72 var72 = new test72();
var72.foo();
test73 var73 = new test73();
var73.foo();
test74 var74 = new test74();
var74.foo();
test75 var75 = new test75();
var75.foo();
test76 var76 = new test76();
var76.foo();
test77 var77 = new test77();
var77.foo();
test78 var78 = new test78();
var78.foo();
test79 var79 = new test79();
var79.foo();
test80 var80 = new test80();
var80.foo();
test81 var81 = new test81();
var81.foo();
test82 var82 = new test82();
var82.foo();
test83 var83 = new test83();
var83.foo();
test84 var84 = new test84();
var84.foo();
test85 var85 = new test85();
var85.foo();
test86 var86 = new test86();
var86.foo();
test87 var87 = new test87();
var87.foo();
test88 var88 = new test88();
var88.foo();
test89 var89 = new test89();
var89.foo();
test90 var90 = new test90();
var90.foo();
test91 var91 = new test91();
var91.foo();
test92 var92 = new test92();
var92.foo();
test93 var93 = new test93();
var93.foo();
test94 var94 = new test94();
var94.foo();
test95 var95 = new test95();
var95.foo();
test96 var96 = new test96();
var96.foo();
test97 var97 = new test97();
var97.foo();
test98 var98 = new test98();
var98.foo();
test99 var99 = new test99();
var99.foo();
test100 var100 = new test100();
var100.foo();
}
}
- duplicates
-
JDK-1237623 compiler gives bogus error with constuctor with 100 parameters
- Closed
- relates to
-
JDK-1240530 Compiler will not compile a method with more than 63 local variables, it should
- Closed