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.
Take a look at the screenshot. Originally the code in the main body was: String dump = FileUtils.readFileToString(new File(DUMP_FILE)); System.err.println(dump); Which dumps content of a file. I've changed it to the on you see in the screenshot. Running the file still apparently uses the old .class file and ignore new content. Should print just "hi". - Clean and Build does not help - deleting project's 'dist' and 'build' dirs in Files View helped
Created attachment 70181 [details] Cached class file screenshot
Damn, sorry for wrongly submitted mime-type of .png attachment.
Seems to have random nature (kw -> RANDOM)
Compile on save.
Neither me nor reporter is not able to reproduce it. As Martin is not sure which changes were done in IDE and which in the shell, closing as WORKSFORME. If you find a way how to reproduce it, please reopen.