java - Block after if(false) is executed -
i hava java project , when try debug project have problem. blocks after if(false) condition executed , blocks after if(true) not. example:
as can see in debug mode , line 65 executed , line 61 not executed.
if do:
boolean truevalue = boolean.true; boolean falsevalue = boolean.false; if(truevalue) { system.out.println("true"); } if(falsevalue) { system.out.println("false"); }
both blockes executed.
something strange happening. after build decompiled compiled classes , code ok(for fist example in compiled class have line "system.out.println("true");" , ok).
i using glassfish server, java 7 , netbeans. reinstalled netbeans, restarted windows, build, clean project. if make new project in netbeans , copy paste examples above ok.
can somenone advice me?
the problem solved after installed again glassfish server.
Comments
Post a Comment