-
Enhancement
-
Resolution: Fixed
-
P3
-
9
-
None
-
b22
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8064164 | 8u45 | Attila Szegedi | P3 | Resolved | Fixed | b01 |
JDK-8055629 | 8u40 | Attila Szegedi | P3 | Resolved | Fixed | b04 |
JDK-8070401 | emb-8u47 | Attila Szegedi | P3 | Resolved | Fixed | team |
With JDK- 8043232, indexed selection of constructor by explicit signature works. But one has to use NativeJavaPackage for that. Because we encourage the usage of Java.type (and StaticClass) as a better way compared to older Packages and dotted access, we need to provide a way to select constructor overload via StaticClass as well.
var Color = Java.type("java.awt.Color")
var C = Color["(int,int,int)"];
var red = new C(255, 0,0);
var Color = Java.type("java.awt.Color")
var C = Color["(int,int,int)"];
var red = new C(255, 0,0);
- backported by
-
JDK-8055629 Explicit constructor overload selection should work with StaticClass as well
-
- Resolved
-
-
JDK-8064164 Explicit constructor overload selection should work with StaticClass as well
-
- Resolved
-
-
JDK-8070401 Explicit constructor overload selection should work with StaticClass as well
-
- Resolved
-