Currently CompilerEnvirons.isXmlAvailable() always return true ignoring Context.FEATURE_E4X flag. The method should return proper result and the class should also provide a public setter to allow to customize CompilerEnvirons without using Context instance, for example, when using ClassCompiler.
Created attachment 156663 [details] [diff] [review] Fix: check for Context.FEATURE_E4X and provide public setters The patch implements sensitivity to Context.FEATURE_E4X and adds missing public getters and setters for xmlAvailable, reservedKeywordAsIdentifier and allowMemberExprAsFunctionName.
I committed the fix
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.5R6
You need to log in before you can comment on or make changes to this bug.