hg: jdk7/jdk7/langtools: 11 new changesets
tim.bell at sun.com
tim.bell at sun.com
Fri Mar 21 17:19:12 PDT 2008
Changeset: 3c2d13c42e0a
Author: mcimadamore
Date: 2008-03-03 16:03 +0000
URL: http://hg.openjdk.java.net/jdk7/jdk7/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/jdk7/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/jdk7/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/jdk7/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/jdk7/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/jdk7/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/jdk7/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/jdk7/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
Changeset: 7366066839bb
Author: jjg
Date: 2008-03-12 13:06 -0700
URL: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/7366066839bb
6668794: javac puts localized text in raw diagnostics
6668796: bad diagnostic "bad class file" given for source files
Summary: Replace internal use of localized text with JCDiagnostic fragments; fix diagnostic for bad source file
Reviewed-by: mcimadamore
! src/share/classes/com/sun/tools/javac/code/Symbol.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java
! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/6668794/badClass/A.java
+ test/tools/javac/6668794/badClass/B.java
+ test/tools/javac/6668794/badClass/Test.java
+ test/tools/javac/6668794/badSource/Test.java
+ test/tools/javac/6668794/badSource/Test.out
+ test/tools/javac/6668794/badSource/p/A.java
Changeset: 6beca695cfae
Author: jjg
Date: 2008-03-13 13:42 -0700
URL: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/6beca695cfae
6559315: Inconsistent non-standard Sun copyright in src/share/opensource/javac/doc/document.css
Summary: Remove obsolete files
Reviewed-by: mcimadamore
- src/share/opensource/javac/Makefile
- src/share/opensource/javac/README-template.html
- src/share/opensource/javac/build.properties
- src/share/opensource/javac/build.xml
- src/share/opensource/javac/doc/document.css
- src/share/opensource/javac/doc/javac_lifecycle/Context.html
- src/share/opensource/javac/doc/javac_lifecycle/Enter.html
- src/share/opensource/javac/doc/javac_lifecycle/JavaCompiler.html
- src/share/opensource/javac/doc/javac_lifecycle/Main.html
- src/share/opensource/javac/doc/javac_lifecycle/ToDo.html
- src/share/opensource/javac/doc/javac_lifecycle/contents.html
- src/share/opensource/javac/doc/javac_lifecycle/index.html
- src/share/opensource/javac/doc/javac_lifecycle/packages.html
- src/share/opensource/javac/doc/javac_lifecycle/style.css
- src/share/opensource/javac/nbproject/project.xml
- src/share/opensource/javac/src/bin/javac.sh
Changeset: 58039502942e
Author: jjg
Date: 2008-03-14 16:09 -0700
URL: http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/58039502942e
6638501: Regression with Javac in JDK6 U4 b03?
Summary: replace some String paths with File paths in Paths.java
Reviewed-by: ksrini
! src/share/classes/com/sun/tools/javac/util/Paths.java
+ test/tools/javac/Paths/6638501/HelloLib/test/HelloImpl.java
+ test/tools/javac/Paths/6638501/JarFromManifestFailure.java
+ test/tools/javac/Paths/6638501/WsCompileExample.java
+ test/tools/javac/Paths/6638501/test/SayHello.java
+ test/tools/javac/Paths/6638501/test1/SayHelloToo.java
More information about the jdk7-dev
mailing list