This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[FFJ CUSTBUG] javac compiles the following 2 versions of the returnTest method without error. However, fastjavac generates the following error when attempting to compile the second version. 'return' without value from private boolean returnTest2() private boolean returnTest(){ bo olean b = true; wh ile(true){ &n bsp; if(b){ &n bsp; retu rn b; &n bsp; }else{ &n bsp; b = true; &n bsp; cont inue; &n bsp; } }< BR> } private boolean returnTest2(){ bo olean b = true; do { &n bsp; if(b){ &n bsp; retu rn b; &n bsp; }else{ &n bsp; b = true; &n bsp; cont inue; &n bsp; } }w hile(true); } It should also be noted that if the continue statement is removed. The method again compiles without error.
Created attachment 5839 [details] This is testcase for this bug
This bug is reproducible on fastjavac build #532.
I am sorry, but I this is not bug in NetBeans, so I am closing it. I have to improve our bug statistics. :-)
Resolved for 3.4.x or earlier, no new info since then -> closing.
Reorganization of java component