In the "Declarative Tags" section, under the @requires section, it says:
Operators: ( ) * / % + - == ~= < <= > >= & | !
It would really help to understand how these operators are defined/used, especially the "~=". We originally thought this was a "partial match" operator for Strings, but turns out it's a "full match." Is "==" for Strings, or just numerics?
e.g. to exclude OpenJDK:
* @requires !(java.runtime.name ~= "OpenJDK") #wrong
* @requires !(java.runtime.name ~= "OpenJDK.*") #correct
Also, is this using the Pattern API?
Operators: ( ) * / % + - == ~= < <= > >= & | !
It would really help to understand how these operators are defined/used, especially the "~=". We originally thought this was a "partial match" operator for Strings, but turns out it's a "full match." Is "==" for Strings, or just numerics?
e.g. to exclude OpenJDK:
* @requires !(java.runtime.name ~= "OpenJDK") #wrong
* @requires !(java.runtime.name ~= "OpenJDK.*") #correct
Also, is this using the Pattern API?