[security-dev 01063]: hg: jdk7/tl/langtools: 7 new changesets

maurizio.cimadamore at sun.com maurizio.cimadamore at sun.com
Mon Aug 10 19:23:38 PDT 2009


Changeset: d5f6c475f475
Author:    mcimadamore
Date:      2009-08-11 01:11 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/d5f6c475f475

6806876: ClassCastException occurs in assignment expressions without any heap pollutions
Summary: intersection types should be considered as non-reifiable by javac
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/varargs/6806876/T6806876.java
+ test/tools/javac/varargs/6806876/T6806876.out

Changeset: abe992640c5a
Author:    mcimadamore
Date:      2009-08-11 01:12 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/abe992640c5a

6390045: Unexpected error "cannot access java.lang.Void" with '-target cldc1.0' with -source >=1.5
Summary: javac needs to synthetize a fake java.lang.Void symbol if one is not given on the classpath
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Symtab.java
+ test/tools/javac/6390045/T6390045a.java
+ test/tools/javac/6390045/T6390045b.java

Changeset: 62073a5becc5
Author:    mcimadamore
Date:      2009-08-11 01:12 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/62073a5becc5

6840059: regression: javac silently crashes when resolving erroneous anonymous inner constructor
Summary: resolved an internal crash with constructor resolution
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/6840059/T6840059.java
+ test/tools/javac/6840059/T6840059.out

Changeset: 8227961c64d3
Author:    mcimadamore
Date:      2009-08-11 01:13 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/8227961c64d3

6521805: Regression: JDK5/JDK6 javac allows write access to outer class reference
Summary: javac should warn/complain about identifiers with the same name as synthetic symbol
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/comp/Lower.java
! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/6521805/T6521805a.java
+ test/tools/javac/6521805/T6521805a_1.out
+ test/tools/javac/6521805/T6521805a_2.out
+ test/tools/javac/6521805/T6521805b.java
+ test/tools/javac/6521805/T6521805c.java
+ test/tools/javac/6521805/T6521805d.java
+ test/tools/javac/6521805/T6521805d.out
+ test/tools/javac/6521805/T6521805e.java
+ test/tools/javac/6521805/T6521805e.out
+ test/tools/javac/6521805/p/Outer.java
+ test/tools/javac/6521805/p/Sub.java
! test/tools/javac/6734819/T6734819a.out
! test/tools/javac/6734819/T6734819b.out
! test/tools/javac/policy/test2/byfile.AB.out
! test/tools/javac/policy/test2/bytodo.AB.out

Changeset: 62fb6cafa93b
Author:    mcimadamore
Date:      2009-08-11 01:13 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/62fb6cafa93b

6869075: regression: javac crashes when compiling compound string assignment with generics
Summary: javac should not add syntehtic cast to the LHS of an assignment expression
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/TransTypes.java
+ test/tools/javac/generics/T6869075.java

Changeset: 13902c0c9b83
Author:    mcimadamore
Date:      2009-08-11 01:14 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/13902c0c9b83

6569404: Cannot instantiate an inner class of a type variable
Summary: javac is too strict in rejecting member selction from a type-var
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Attr.java
+ test/tools/javac/generics/typevars/6569404/T6569404a.java
+ test/tools/javac/generics/typevars/6569404/T6569404b.java
+ test/tools/javac/generics/typevars/6569404/T6569404b.out
+ test/tools/javac/generics/typevars/6569404/T6569404c.java

Changeset: c4c424badb83
Author:    mcimadamore
Date:      2009-08-11 01:14 +0100
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/c4c424badb83

6199153: Generic throws and overriding
Summary: javac incorrectly rejects an uchecked overriding
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/OverrideChecks/6199153/T6199153.java
+ test/tools/javac/OverrideChecks/6199153/T6199153.out




More information about the security-dev mailing list