Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.1
-
None
-
All
Description
A small script such as this in a BXML file now will not work in Java 8:
<bxml:script>
importClass(org.apache.pivot.wtk.Button);
function isSelected(state)
</bxml:script>
The reason is that the "importClass" function is not present in the base Nashorn engine, but is provided by a compatibility library: "mozilla_compat.js".