Platform General
JDK Tiger-beta2 b38
Compiling java/awt/font/TextLayout/CheckLayoutLTR.java fails.
Needs this program to be fixed. Error is as follows.
so129345@yo[1674] javac CheckLayoutLTR.java
CheckLayoutLTR.java:20: reference to Float is ambiguous, both class java.lang.Float in java.lang and class java.awt.geom.Rectangle2D.Float in java.awt.geom.Rectangle2D match
rtl.put(TextAttribute.SIZE, new Float(20));
^
CheckLayoutLTR.java:24: reference to Float is ambiguous, both class java.lang.Float in java.lang and class java.awt.geom.Rectangle2D.Float in java.awt.geom.Rectangle2D match
ltr.put(TextAttribute.SIZE, new Float(20));
^
CheckLayoutLTR.java:27: reference to Float is ambiguous, both class java.lang.Float in java.lang and class java.awt.geom.Rectangle2D.Float in java.awt.geom.Rectangle2D match
none.put(TextAttribute.SIZE, new Float(20));
^
3 errors
Test case can be found at
/java/re/jdk/1.5.0/promoted/all/b38/ws/j2se/test
JDK Tiger-beta2 b38
Compiling java/awt/font/TextLayout/CheckLayoutLTR.java fails.
Needs this program to be fixed. Error is as follows.
so129345@yo[1674] javac CheckLayoutLTR.java
CheckLayoutLTR.java:20: reference to Float is ambiguous, both class java.lang.Float in java.lang and class java.awt.geom.Rectangle2D.Float in java.awt.geom.Rectangle2D match
rtl.put(TextAttribute.SIZE, new Float(20));
^
CheckLayoutLTR.java:24: reference to Float is ambiguous, both class java.lang.Float in java.lang and class java.awt.geom.Rectangle2D.Float in java.awt.geom.Rectangle2D match
ltr.put(TextAttribute.SIZE, new Float(20));
^
CheckLayoutLTR.java:27: reference to Float is ambiguous, both class java.lang.Float in java.lang and class java.awt.geom.Rectangle2D.Float in java.awt.geom.Rectangle2D match
none.put(TextAttribute.SIZE, new Float(20));
^
3 errors
Test case can be found at
/java/re/jdk/1.5.0/promoted/all/b38/ws/j2se/test
- duplicates
-
JDK-4985814 REGRESSION: import of pkg.* also imports static inner classes pkg.SomeClass.*
- Resolved