Proper CompilerEnvirons.isXmlAvailable()

RESOLVED FIXED in 1.6R1

Status

RESOLVED FIXED
15 years ago
15 years ago

People

(Reporter: igor, Assigned: igor)

Tracking

head
1.6R1
x86
Linux

Details

Attachments

(1 attachment)

(Assignee)

Description

15 years ago
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.
(Assignee)

Comment 1

15 years ago
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.
(Assignee)

Comment 2

15 years ago
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.