- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    8u40
- 
    None
- 
        b22
- 
        generic
- 
        generic
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8064110 | 8u45 | Attila Szegedi | P3 | Resolved | Fixed | b01 | 
| JDK-8055577 | 8u40 | Attila Szegedi | P3 | Resolved | Fixed | b04 | 
| JDK-8070347 | emb-8u47 | Attila Szegedi | P3 | Resolved | Fixed | team | 
                    Currently there is no way to reliably predict which overloaded constructor will be used.
var x = 1;
print(new java.awt.Color(x, x, x)) // creates Color[r=1,g=1,b=1]
var y = 1;
y = y + 0;
print(new java.awt.Color(y, y, y)) // creates Color[r=1,g=1,b=1]
var z = 1;
z = z * 1;
print(new java.awt.Color(z, z, z)) // creates Color[r=255,g=255,b=255]
Need to be able to new (java.awt["Color(int,int,int)"])(3,3, 4)
var x = 1;
print(new java.awt.Color(x, x, x)) // creates Color[r=1,g=1,b=1]
var y = 1;
y = y + 0;
print(new java.awt.Color(y, y, y)) // creates Color[r=1,g=1,b=1]
var z = 1;
z = z * 1;
print(new java.awt.Color(z, z, z)) // creates Color[r=255,g=255,b=255]
Need to be able to new (java.awt["Color(int,int,int)"])(3,3, 4)
- backported by
- 
                    JDK-8055577 Index selection of overloaded java new constructors -           
- Resolved
 
-         
- 
                    JDK-8064110 Index selection of overloaded java new constructors -           
- Resolved
 
-         
- 
                    JDK-8070347 Index selection of overloaded java new constructors -           
- Resolved
 
-