Hi,

It seems that in Nashorn Java enums are no longer coerced into their string 
value:

java.math.RoundingMode.UP == "UP"

evaluates to true in Java 7 but to false in Java 8 when executed in the 
respective JavaScript engine.


Does anybody know if this is actually a bug or just something in the 
specification?

Thanks!



Mit freundlichen Grüßen / Best regards
Michael Kurt Krause
________________________________________

Grazer Wechselseitige Versicherung AG
Pestalozzistraße 73, 8011 Graz
Tel.:    +43 316 908031-6174
Fax:    +43 316 80379
Mail:    [email protected]
Web:    www.grawe.at

FN 37748m, Landes- als Handelsgericht Graz
Bitte denken Sie an die Umwelt, bevor Sie dieses E-Mail ausdrucken!

Reply via email to