test/tools/javac/synthesize/Float.java

Thu, 16 Oct 2008 07:39:53 -0700

author
jjg
date
Thu, 16 Oct 2008 07:39:53 -0700
changeset 145
2c1ef6ec9413
parent 0
959103a6100f
permissions
-rw-r--r--

6759810: bad regression test causes source file to be deleted
Reviewed-by: mcimadamore

     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