Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.5.1
-
Fix Version/s: JRuby 1.5.3
-
Component/s: Embedding
-
Labels:None
-
Number of attachments :
Description
Global variables defined in the script engine's global bindings are not accessible. It doesn't matter if the bindings are set with scriptEngineManager.setBindings(globalBindings) or scriptEngine.setBindings(globalBindings, ScriptContext.GLOBAL_SCOPE). In either case, the bindings seem to be ignored.
I'm attaching an executable Java class that illustrates this problem.
Activity
Yoko Harada
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Assignee | Yoko Harada [ yokolet ] | |
| Fix Version/s | JRuby 1.5.3 [ 16751 ] | |
| Resolution | Fixed [ 1 ] |
Charles Oliver Nutter
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |