Community
Participate
Working Groups
There are some examples where new Boolean() is used in Platform.SWT. The static accessor Boolean.valueOf was added in Java 1.4 to provide access to a flyweight object where a unique identity is not required, and which can in-line in the JIT (object construction only in-lines when it can be proven that the object doesn't escape).
New Gerrit change created: https://git.eclipse.org/r/50496
Gerrit change https://git.eclipse.org/r/50496 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=4976c78e1f8140ee2ccd13db6f6d574e844114ee
Pushed to master.
*** Bug 278441 has been marked as a duplicate of this bug. ***