[security-dev 00105]: hg: jdk7/jsn/langtools: 8 new changesets

bradford.wetmore at sun.com bradford.wetmore at sun.com
Wed Mar 12 11:01:55 PDT 2008


Changeset: 3c2d13c42e0a
Author:    mcimadamore
Date:      2008-03-03 16:03 +0000
URL:       http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/3c2d13c42e0a

6614974: javac successfully compiles code that throws java.lang.VerifyError when run
Summary: synthetic cast missing when translating autoboxing expressions
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Lower.java
+ test/tools/javac/boxing/T6614974.java

Changeset: b45f8d4794b7
Author:    mcimadamore
Date:      2008-03-04 12:14 +0000
URL:       http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/b45f8d4794b7

6611449: Internal Error thrown during generic method/constructor invocation
Summary: type-inference should fail since lub is not defined for primitive types
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/comp/Infer.java
+ test/tools/javac/generics/inference/6611449/T6611449.java
+ test/tools/javac/generics/inference/6611449/T6611449.out

Changeset: 40813968849e
Author:    mcimadamore
Date:      2008-03-04 13:00 +0000
URL:       http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/40813968849e

6660289: declared bound in inner class referring a type variable of the outer class
Summary: NPE caused by a defect in type-variable attribution
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/generics/T6660289.java

Changeset: d472e2fbcc39
Author:    mcimadamore
Date:      2008-03-04 15:19 +0000
URL:       http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/d472e2fbcc39

6608214: Exception throw while analysing a file with error
Summary: bad error-recovery after bad type-variable bound is detected
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/api/6608214/T6608214.java

Changeset: 38bd6375f37d
Author:    mcimadamore
Date:      2008-03-04 15:45 +0000
URL:       http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/38bd6375f37d

6663588: Compiler goes into infinite loop for Cyclic Inheritance test case
Summary: interplay between cyclic inheritance and tvar bounds hangs javac
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
+ test/tools/javac/T6663588.java

Changeset: f09d6a3521b1
Author:    jjg
Date:      2008-03-06 10:07 -0800
URL:       http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/f09d6a3521b1

4741726: allow Object += String
Summary: remove code in line with restriction removed from JLS
Reviewed-by: mcimadamore
Contributed-by: michaelbailey0 at gmail.com

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/StringConversion2.java
- test/tools/javac/expression/ObjectAppend.java

Changeset: 508c01999047
Author:    jjg
Date:      2008-03-06 10:25 -0800
URL:       http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/508c01999047

6668802: javac handles diagnostics for last line badly, if line not terminated by newline
Summary: use CharBuffer.limit(), not the length of the backing array
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/util/Log.java
+ test/tools/javac/T6668802.java

Changeset: b66d15dfd001
Author:    jjg
Date:      2008-03-11 13:14 -0700
URL:       http://hg.openjdk.java.net/jdk7/jsn/langtools/rev/b66d15dfd001

6307187: clean up code for -Xlint:options
Summary: introduce common code for handling one-of and any-of options
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/code/Lint.java
! src/share/classes/com/sun/tools/javac/main/JavacOption.java
! src/share/classes/com/sun/tools/javac/main/OptionName.java
! src/share/classes/com/sun/tools/javac/main/RecognizedOptions.java
! test/tools/javac/6341866/T6341866.java




More information about the security-dev mailing list