hg: jdk7/hotspot-gc/langtools: 32 new changesets

john.coomes at sun.com john.coomes at sun.com
Fri Jul 11 19:16:54 PDT 2008


Changeset: 3c41acaad702
Author:    xdono
Date:      2008-04-24 12:12 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/3c41acaad702

Added tag jdk7-b26 for changeset c46d25a2350a

! .hgtags

Changeset: 961ae2608114
Author:    mcimadamore
Date:      2008-04-09 13:19 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/961ae2608114

6531075: Missing synthetic casts when accessing fields/methods of intersection types including type variables
Summary: bug when javac generates code involving intersection types
Reviewed-by: jjg

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

Changeset: d032d5090fd5
Author:    mcimadamore
Date:      2008-04-09 13:41 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/d032d5090fd5

5009937: hiding versus generics versus binary compatibility
Summary: missing implementation of JLS 8.4.8.3 (different arguments with same erasure not always triggering a compiler error)
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/generics/5009937/T5009937.java
+ test/tools/javac/generics/5009937/T5009937.out
! test/tools/javac/generics/InheritanceConflict.java
! test/tools/javac/generics/InheritanceConflict2.java

Changeset: 57ba4f70f0d8
Author:    mcimadamore
Date:      2008-04-09 13:53 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/57ba4f70f0d8

6365166: javac (generic) unable to resolve methods
Summary: Unignore regression test as this bug has been fixed by CR 6278587
Reviewed-by: jjg

+ test/tools/javac/generics/inference/6356673/T6365166.java

Changeset: 25338c55e458
Author:    mcimadamore
Date:      2008-04-09 14:05 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/25338c55e458

6481655: Parser confused by combination of parens and explicit type args
Summary: Bug in the parser caused by the fact that explicit type arguments are disabled when parsing parenthesized expressions
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/parser/Parser.java
+ test/tools/javac/generics/T6481655.java

Changeset: 447c300a24e7
Author:    mcimadamore
Date:      2008-04-09 14:45 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/447c300a24e7

6450290: Capture of nested wildcards causes type error
Summary: A missing capture conversion makes javac to think that some expressions are well-formed even when they aren't
Reviewed-by: jjg

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

Changeset: e7bf2e39b8fe
Author:    mcimadamore
Date:      2008-04-09 14:57 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/e7bf2e39b8fe

6657499: javac 1.6.0 fails to compile class with inner class
Summary: Lookup of member inner classes silently fails leading to an unwanted erasure to take place
Reviewed-by: jjg

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

Changeset: 6522ea413d23
Author:    mcimadamore
Date:      2008-04-09 15:04 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/6522ea413d23

6683438: Bad regression test for CR 6611449
Summary: The regression test for CR 6611449 contains some inconstistencies
Reviewed-by: jjg

! test/tools/javac/generics/inference/6611449/T6611449.java
! test/tools/javac/generics/inference/6611449/T6611449.out

Changeset: a1d1f335633f
Author:    mcimadamore
Date:      2008-04-09 15:30 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/a1d1f335633f

6559182: Cast from a raw type with non-generic supertype to a raw type fails unexpectedly
Summary: Javac doesn't conform to JLS 4.8 - all the supertypes of a raw type must be erased
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Type.java
! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/generics/Casting5.java

Changeset: 627deea1ea4f
Author:    tbell
Date:      2008-04-15 17:48 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/627deea1ea4f

Merge


Changeset: eb4c60ad2fa2
Author:    tbell
Date:      2008-04-25 15:22 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/eb4c60ad2fa2

Merge


Changeset: ec29a1a284ca
Author:    mcimadamore
Date:      2008-04-23 17:10 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/ec29a1a284ca

6682380: Foreach loop with generics inside finally block crashes javac with -target 1.5
Summary: A missing type-erasure in Lower.java causes the compiler to crash since JDK6
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Lower.java
+ test/tools/javac/foreach/T6682380.java

Changeset: a17265993253
Author:    tbell
Date:      2008-05-12 18:07 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/a17265993253

Merge


Changeset: 4ef4bd318569
Author:    xdono
Date:      2008-05-22 09:37 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/4ef4bd318569

Added tag jdk7-b27 for changeset a17265993253

! .hgtags

Changeset: 58e352559a41
Author:    jjg
Date:      2008-05-22 15:51 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/58e352559a41

6705945: com.sun.tools.javac.zip files do not have valid copyright
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/javac/zip/ZipFileIndex.java
! src/share/classes/com/sun/tools/javac/zip/ZipFileIndexEntry.java

Changeset: b8c8259e0d2b
Author:    jjg
Date:      2008-05-22 16:06 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/b8c8259e0d2b

6657909: javap has unchecked compilation warnings
Reviewed-by: mcimadamore

! src/share/classes/sun/tools/javap/ClassData.java
! src/share/classes/sun/tools/javap/FieldData.java
! src/share/classes/sun/tools/javap/InnerClassData.java
! src/share/classes/sun/tools/javap/JavapPrinter.java
! src/share/classes/sun/tools/javap/Main.java
! src/share/classes/sun/tools/javap/MethodData.java
! src/share/classes/sun/tools/javap/Tables.java
! src/share/classes/sun/tools/javap/TypeSignature.java

Changeset: 65a447c75d4b
Author:    jjg
Date:      2008-05-22 17:40 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/65a447c75d4b

6705935: javac reports path name of entry in ZipFileIndex incorectly
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/util/JavacFileManager.java
! test/tools/javac/6589361/T6589361.java
+ test/tools/javac/T6705935.java

Changeset: ff3d4fdf9c63
Author:    tbell
Date:      2008-05-28 00:02 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/ff3d4fdf9c63

Merge


Changeset: 8852d96b593b
Author:    mcimadamore
Date:      2008-05-30 10:29 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/8852d96b593b

6665223: Static import of inherited protected method causes compiler exception
Summary: Buggy accessibility check causes NPE during resolution of imported static methods
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/staticImport/6665223/T6665223.java
+ test/tools/javac/staticImport/6665223/pkg/A.java
+ test/tools/javac/staticImport/6665223/pkg/B.java

Changeset: 6e9a43815df7
Author:    mcimadamore
Date:      2008-05-30 10:42 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/6e9a43815df7

6507024: casting an array to a generic type results in a 'capture#69 of ?' type error
Summary: Types.isSubtypeUnchecked() should handle type-variables subtyping properly
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/generics/T6507024.java

Changeset: f7e64b33d5a4
Author:    mcimadamore
Date:      2008-05-30 11:08 +0100
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/f7e64b33d5a4

6677785: REGRESSION: StackOverFlowError with Cyclic Class level Type Parameters when used in constructors
Summary: This regression has been caused by previous fix of 6660289
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/generics/6677785/T6677785.java
+ test/tools/javac/generics/6677785/T6677785.out

Changeset: fc780e96a16a
Author:    tbell
Date:      2008-06-02 22:35 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/fc780e96a16a

Merge


Changeset: dec081837b01
Author:    xdono
Date:      2008-06-10 10:37 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/dec081837b01

Added tag jdk7-b28 for changeset 4ef4bd318569

! .hgtags

Changeset: c3f2b8992300
Author:    xdono
Date:      2008-06-20 08:45 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/c3f2b8992300

Added tag jdk7-b29 for changeset dec081837b01

! .hgtags

Changeset: 7708bd6d800d
Author:    jjg
Date:      2008-06-03 13:26 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/7708bd6d800d

4075303: Use javap to enquire aboput a specific inner class
4348375: Javap is not internationalized
4459541: "javap -l" shows line numbers as signed short; they should be unsigned
4501660: change diagnostic of -help as 'print this help message and exit'
4776241: unused source file in javap...
4870651: javap should recognize generics, varargs, enum
4876942: javap invoked without args does not print help screen
4880663: javap could output whitespace between class name and opening brace
4975569: javap doesn't print new flag bits
6271787: javap dumps LocalVariableTypeTable attribute in hex, needs to print a table
6305779: javap: support annotations
6439940: Clean up javap implementation
6469569: wrong check of searchpath in JavapEnvironment
6474890: javap does not open .zip files in -classpath
6587786: Javap throws error : "ERROR:Could not find <classname>" for JRE classes
6622215: javap ignores certain relevant access flags
6622216: javap names some attributes incorrectly
6622232: javap gets whitespace confused
6622260: javap prints negative bytes incorrectly in hex
Reviewed-by: ksrini

! make/build.properties
! make/build.xml
! make/netbeans/common/standard-ide-actions-no-javadoc.ent
! make/netbeans/common/standard-ide-actions.ent
+ src/share/classes/com/sun/tools/classfile/AccessFlags.java
+ src/share/classes/com/sun/tools/classfile/Annotation.java
+ src/share/classes/com/sun/tools/classfile/AnnotationDefault_attribute.java
+ src/share/classes/com/sun/tools/classfile/Attribute.java
+ src/share/classes/com/sun/tools/classfile/AttributeException.java
+ src/share/classes/com/sun/tools/classfile/Attributes.java
+ src/share/classes/com/sun/tools/classfile/CharacterRangeTable_attribute.java
+ src/share/classes/com/sun/tools/classfile/ClassFile.java
+ src/share/classes/com/sun/tools/classfile/ClassReader.java
+ src/share/classes/com/sun/tools/classfile/ClassTranslator.java
+ src/share/classes/com/sun/tools/classfile/ClassWriter.java
+ src/share/classes/com/sun/tools/classfile/Code_attribute.java
+ src/share/classes/com/sun/tools/classfile/CompilationID_attribute.java
+ src/share/classes/com/sun/tools/classfile/ConstantPool.java
+ src/share/classes/com/sun/tools/classfile/ConstantPoolException.java
+ src/share/classes/com/sun/tools/classfile/ConstantValue_attribute.java
+ src/share/classes/com/sun/tools/classfile/DefaultAttribute.java
+ src/share/classes/com/sun/tools/classfile/Deprecated_attribute.java
+ src/share/classes/com/sun/tools/classfile/Descriptor.java
+ src/share/classes/com/sun/tools/classfile/DescriptorException.java
+ src/share/classes/com/sun/tools/classfile/EnclosingMethod_attribute.java
+ src/share/classes/com/sun/tools/classfile/Exceptions_attribute.java
+ src/share/classes/com/sun/tools/classfile/Field.java
+ src/share/classes/com/sun/tools/classfile/InnerClasses_attribute.java
+ src/share/classes/com/sun/tools/classfile/LineNumberTable_attribute.java
+ src/share/classes/com/sun/tools/classfile/LocalVariableTable_attribute.java
+ src/share/classes/com/sun/tools/classfile/LocalVariableTypeTable_attribute.java
+ src/share/classes/com/sun/tools/classfile/Method.java
+ src/share/classes/com/sun/tools/classfile/ModuleExportTable_attribute.java
+ src/share/classes/com/sun/tools/classfile/ModuleMemberTable_attribute.java
+ src/share/classes/com/sun/tools/classfile/Module_attribute.java
+ src/share/classes/com/sun/tools/classfile/OpCodes.java
+ src/share/classes/com/sun/tools/classfile/RuntimeAnnotations_attribute.java
+ src/share/classes/com/sun/tools/classfile/RuntimeInvisibleAnnotations_attribute.java
+ src/share/classes/com/sun/tools/classfile/RuntimeInvisibleParameterAnnotations_attribute.java
+ src/share/classes/com/sun/tools/classfile/RuntimeParameterAnnotations_attribute.java
+ src/share/classes/com/sun/tools/classfile/RuntimeVisibleAnnotations_attribute.java
+ src/share/classes/com/sun/tools/classfile/RuntimeVisibleParameterAnnotations_attribute.java
+ src/share/classes/com/sun/tools/classfile/Signature.java
+ src/share/classes/com/sun/tools/classfile/Signature_attribute.java
+ src/share/classes/com/sun/tools/classfile/SourceDebugExtension_attribute.java
+ src/share/classes/com/sun/tools/classfile/SourceFile_attribute.java
+ src/share/classes/com/sun/tools/classfile/SourceID_attribute.java
+ src/share/classes/com/sun/tools/classfile/StackMapTable_attribute.java
+ src/share/classes/com/sun/tools/classfile/StackMap_attribute.java
+ src/share/classes/com/sun/tools/classfile/Synthetic_attribute.java
+ src/share/classes/com/sun/tools/classfile/Type.java
+ src/share/classes/com/sun/tools/classfile/package.html
+ src/share/classes/com/sun/tools/javap/AnnotationWriter.java
+ src/share/classes/com/sun/tools/javap/AttributeWriter.java
+ src/share/classes/com/sun/tools/javap/BasicWriter.java
+ src/share/classes/com/sun/tools/javap/ClassWriter.java
+ src/share/classes/com/sun/tools/javap/CodeWriter.java
+ src/share/classes/com/sun/tools/javap/ConstantWriter.java
+ src/share/classes/com/sun/tools/javap/Context.java
+ src/share/classes/com/sun/tools/javap/DisassemblerTool.java
+ src/share/classes/com/sun/tools/javap/InternalError.java
+ src/share/classes/com/sun/tools/javap/JavapFileManager.java
+ src/share/classes/com/sun/tools/javap/JavapTask.java
+ src/share/classes/com/sun/tools/javap/Main.java
+ src/share/classes/com/sun/tools/javap/Options.java
+ src/share/classes/com/sun/tools/javap/overview.html
+ src/share/classes/com/sun/tools/javap/package.html
+ src/share/classes/com/sun/tools/javap/resources/javap.properties
+ src/share/classes/com/sun/tools/javap/resources/version.properties-template
! src/share/classes/sun/tools/javap/Main.java
+ test/tools/javap/4870651/T4870651.java
+ test/tools/javap/4870651/Test.java
+ test/tools/javap/ListTest.java
+ test/tools/javap/OptionTest.java
+ test/tools/javap/T4075403.java
+ test/tools/javap/T4459541.java
+ test/tools/javap/T4501660.java
+ test/tools/javap/T4876942.java
+ test/tools/javap/T4880663.java
+ test/tools/javap/T4975569.java
+ test/tools/javap/T6271787.java
+ test/tools/javap/T6305779.java
+ test/tools/javap/T6474890.java
+ test/tools/javap/T6587786.java
+ test/tools/javap/T6622216.java
+ test/tools/javap/T6622232.java
+ test/tools/javap/T6622260.java

Changeset: 12c9e612e9e3
Author:    jjg
Date:      2008-06-05 13:46 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/12c9e612e9e3

6711276: langtools has incorrect -Werror switch
Reviewed-by: ksrini

! make/build.properties

Changeset: c2abfb92ba69
Author:    tbell
Date:      2008-06-06 15:17 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/c2abfb92ba69

Merge


Changeset: 5ee49b24d378
Author:    tbell
Date:      2008-06-12 13:19 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/5ee49b24d378

Merge


Changeset: b9bcea8bbe24
Author:    jjg
Date:      2008-06-16 13:28 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/b9bcea8bbe24

6714364: refactor javac File handling code into new javac.file package
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/apt/main/JavaCompiler.java
! src/share/classes/com/sun/tools/apt/main/Main.java
! src/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
! src/share/classes/com/sun/tools/javac/api/JavacTool.java
+ src/share/classes/com/sun/tools/javac/file/BaseFileObject.java
+ src/share/classes/com/sun/tools/javac/file/JavacFileManager.java
+ src/share/classes/com/sun/tools/javac/file/Old199.java
+ src/share/classes/com/sun/tools/javac/file/Paths.java
+ src/share/classes/com/sun/tools/javac/file/ZipFileIndex.java
+ src/share/classes/com/sun/tools/javac/file/ZipFileIndexEntry.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/main/Main.java
! src/share/classes/com/sun/tools/javac/parser/Scanner.java
! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
- src/share/classes/com/sun/tools/javac/util/BaseFileObject.java
! src/share/classes/com/sun/tools/javac/util/DiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/util/JCDiagnostic.java
- src/share/classes/com/sun/tools/javac/util/JavacFileManager.java
! src/share/classes/com/sun/tools/javac/util/Log.java
- src/share/classes/com/sun/tools/javac/util/Old199.java
- src/share/classes/com/sun/tools/javac/util/Paths.java
- src/share/classes/com/sun/tools/javac/zip/ZipFileIndex.java
- src/share/classes/com/sun/tools/javac/zip/ZipFileIndexEntry.java
! src/share/classes/com/sun/tools/javadoc/JavadocClassReader.java
! src/share/classes/com/sun/tools/javadoc/JavadocTool.java
! src/share/classes/com/sun/tools/javap/JavapFileManager.java
! test/tools/javac/6304921/TestLog.java
! test/tools/javac/6589361/T6589361.java
! test/tools/javac/T6358024.java
! test/tools/javac/T6358166.java
! test/tools/javac/T6358168.java
! test/tools/javac/T6705935.java
! test/tools/javac/api/T6358786.java
! test/tools/javac/api/TestResolveIdent.java
! test/tools/javac/util/filemanager/TestName.java

Changeset: 700b17652ef6
Author:    tbell
Date:      2008-06-16 22:23 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/700b17652ef6

Merge

- src/share/classes/com/sun/tools/javac/util/BaseFileObject.java
- src/share/classes/com/sun/tools/javac/util/JavacFileManager.java
- src/share/classes/com/sun/tools/javac/util/Old199.java
- src/share/classes/com/sun/tools/javac/util/Paths.java
- src/share/classes/com/sun/tools/javac/zip/ZipFileIndex.java
- src/share/classes/com/sun/tools/javac/zip/ZipFileIndexEntry.java

Changeset: 3cb4fb6e0720
Author:    jjg
Date:      2008-06-18 16:53 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/3cb4fb6e0720

6715767: javap on java.lang.ClassLoader crashes
Reviewed-by: ksrini

! src/share/classes/com/sun/tools/classfile/ConstantPool.java
! src/share/classes/com/sun/tools/javap/AttributeWriter.java
! src/share/classes/com/sun/tools/javap/ClassWriter.java
! src/share/classes/com/sun/tools/javap/JavapTask.java
+ test/tools/javap/T6715767.java

Changeset: 0c66311205c2
Author:    tbell
Date:      2008-06-20 16:36 -0700
URL:       http://hg.openjdk.java.net/jdk7/hotspot-gc/langtools/rev/0c66311205c2

Merge





More information about the hotspot-gc-dev mailing list