-
Type:
Bug
-
Status: Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 2.1
-
Component/s: core-serialization
-
Labels:None
-
Environment:All
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".