RFR (S): CODETOOLS-7902344: short-circuit boolean evaluation in @requires expressions
Boris Ulasevich
boris.ulasevich at bell-sw.com
Tue Dec 11 09:09:46 UTC 2018
Hello,
Please review this change to introduce short-circuit boolean expressions
evaluation:
http://bugs.openjdk.java.net/browse/CODETOOLS-7902344
http://cr.openjdk.java.net/~bulasevich/CODETOOLS-7902344/webrev.01
Short-circuit boolean evaluation in @requires expressions helps to avoid
expression evaluation errors when the VM option is not defined for the
particular VM build. We use workaround "boolOpt64Bit == true" now while
we believe the correct expression would be "vm.bits == 64 & boolOpt64Bit".
thanks,
Boris
More information about the code-tools-dev
mailing list