Community
Participate
Working Groups
While investigating bug 340923, part of the reason for different byte codes is that now the compiler more correctly (or aggressively?) optimizes out unnecessary null checks. I'll attach patch, but in short, there's a point where a 'folders' variable can not be null, in org.eclipse.jem.workbench/workbench/org/eclipse/jem/workbench/utility/JemProjectUtilities.java To avoid "bytes changed but qualifier did not change" warning, the bundle should be re-tagged, and if we are going to that trouble, just as well fix the code.
Created attachment 192194 [details] patch to remove unneccessary null check
actually fixed two unnecessary null checks, so that way projects settings can be left "on" to flag unnecessary null checks as errors.