static
{
- specversion = Float
- .parseFloat(System.getProperty("java.specification.version"));
+ specversion = Platform.isJS() ? Float.valueOf(8)
+ : Float.parseFloat(
+ System.getProperty("java.specification.version"));
modern = 11;
if (specversion >= modern)