test/tools/javac/synthesize/Float.java

Thu, 28 Feb 2013 14:05:52 +0000

author
mcimadamore
date
Thu, 28 Feb 2013 14:05:52 +0000
changeset 1610
08782b8b03ce
parent 0
959103a6100f
permissions
-rw-r--r--

8008537: Missing method reference lookup error when unbound search finds a static method
Summary: Static-ness check should be applied after member reference resolution
Reviewed-by: jjg

     1 package java.lang;
     3 public class Float extends Number
     4 {
     5     public static Float valueOf(float v) {
     6         return new Float(v);
     7     }
     9     public Float(float v) {
    10         value = v;
    11     }
    13     public float floatValue() {
    14         return value;
    15     }
    17     private float value;
    18 }

mercurial