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: enter image description here

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

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -