Fix crash on startup in pre 1.5 VMs when XMLBeans not available
git-svn-id: svn://10.0.0.236/trunk@224523 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -203,7 +203,7 @@ public class ScriptRuntime {
|
||||
NativeCall.init(scope, sealed);
|
||||
NativeScript.init(scope, sealed);
|
||||
|
||||
boolean withXml = cx.hasFeature(Context.FEATURE_E4X);
|
||||
boolean withXml = cx.hasFeature(Context.FEATURE_E4X) && cx.getE4xImplementationFactory() != null;
|
||||
|
||||
for (int i = 0; i != lazilyNames.length; i += 2) {
|
||||
String topProperty = lazilyNames[i];
|
||||
|
||||
Reference in New Issue
Block a user