-
Bug
-
Resolution: Fixed
-
P3
-
9
-
None
-
b29
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8056566 | emb-9 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | master |
JDK-8064191 | 8u45 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | b01 |
JDK-8055807 | 8u40 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | b04 |
JDK-8070428 | emb-8u47 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | team |
Example:
var m = new javax.script.ScriptEngineManager();
var e = m.getEngineByName("nashorn");
function func(obj) {
// explicit signature method access
print(obj['getMember(java.lang.String)']("foo"));
print(obj['eval(String)']("this + 44"));
return obj;
}
func(e.eval("({ foo: 33, valueOf: function() 42 })"));
- backported by
-
JDK-8055807 JSObject and browser JSObject linkers should provide fallback to call underlying Java methods directly
-
- Resolved
-
-
JDK-8056566 JSObject and browser JSObject linkers should provide fallback to call underlying Java methods directly
-
- Resolved
-
-
JDK-8064191 JSObject and browser JSObject linkers should provide fallback to call underlying Java methods directly
-
- Resolved
-
-
JDK-8070428 JSObject and browser JSObject linkers should provide fallback to call underlying Java methods directly
-
- Resolved
-
- relates to
-
JDK-8223386 JSObject.getMember is not called if name contains parentheses
-
- Closed
-