Closed Bug 256389 Opened 21 years ago Closed 21 years ago

Proper CompilerEnvirons.isXmlAvailable()

Categories

(Rhino Graveyard :: Core, defect)

head
x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: igor, Assigned: igor)

Details

Attachments

(1 file)

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.
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
Closed: 21 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.5R6
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: