hg: nio/nio/langtools: 28 new changesets

alan.bateman at sun.com alan.bateman at sun.com
Thu Jul 30 08:12:12 PDT 2009


Changeset: 5c2c81120555
Author:    xdono
Date:      2009-06-25 12:10 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/5c2c81120555

Added tag jdk7-b62 for changeset 6855e5aa3348

! .hgtags

Changeset: e71fd3fcebf5
Author:    tbell
Date:      2009-06-26 10:26 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/e71fd3fcebf5

Merge


Changeset: c391a167ac57
Author:    tbell
Date:      2009-06-28 00:01 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/c391a167ac57

Merge


Changeset: ec1acd3af057
Author:    tbell
Date:      2009-06-29 23:08 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/ec1acd3af057

Merge


Changeset: 619c768ad104
Author:    xdono
Date:      2009-07-02 11:11 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/619c768ad104

Added tag jdk7-b63 for changeset 5c2c81120555

! .hgtags

Changeset: 24374861f91e
Author:    tbell
Date:      2009-07-03 09:16 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/24374861f91e

Merge


Changeset: ad07b7ea9685
Author:    mcimadamore
Date:      2009-07-15 10:25 +0100
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/ad07b7ea9685

6846972: cannot access member of raw type when erasure change overriding into overloading
Summary: fix of 6400189 caused a nasty problem in method resolution
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/comp/Resolve.java
+ test/tools/javac/generics/rawOverride/T6846972.java

Changeset: 90d40dd5cfc7
Author:    mcimadamore
Date:      2009-07-15 17:01 +0100
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/90d40dd5cfc7

6860795: NullPointerException when compiling a negative java source
Summary: Rich formatter shouldn't propagate visits on method symbols that have a null type
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java
+ test/tools/javac/Diagnostics/6860795/T6860795.java
+ test/tools/javac/Diagnostics/6860795/T6860795.out

Changeset: e4a1c76c1abb
Author:    peterz
Date:      2009-06-23 12:24 +0400
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/e4a1c76c1abb

6844273: jdk/make/docs/CORE_PKGS.gmk does not list Nimbus
Reviewed-by: prr

! src/share/classes/com/sun/tools/javac/resources/legacy.properties

Changeset: ddef2ef424d8
Author:    yan
Date:      2009-06-25 00:20 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/ddef2ef424d8

Merge

- make/README
- src/share/classes/sun/tools/javap/AttrData.java
- src/share/classes/sun/tools/javap/CPX.java
- src/share/classes/sun/tools/javap/CPX2.java
- src/share/classes/sun/tools/javap/ClassData.java
- src/share/classes/sun/tools/javap/Constants.java
- src/share/classes/sun/tools/javap/FieldData.java
- src/share/classes/sun/tools/javap/InnerClassData.java
- src/share/classes/sun/tools/javap/JavapEnvironment.java
- src/share/classes/sun/tools/javap/JavapPrinter.java
- src/share/classes/sun/tools/javap/LineNumData.java
- src/share/classes/sun/tools/javap/LocVarData.java
- src/share/classes/sun/tools/javap/Main.java
- src/share/classes/sun/tools/javap/MethodData.java
- src/share/classes/sun/tools/javap/RuntimeConstants.java
- src/share/classes/sun/tools/javap/StackMapData.java
- src/share/classes/sun/tools/javap/StackMapTableData.java
- src/share/classes/sun/tools/javap/Tables.java
- src/share/classes/sun/tools/javap/TrapData.java
- src/share/classes/sun/tools/javap/TypeSignature.java
- test/tools/javac/code/ArrayClone.sh
- test/tools/javap/ListTest.java
- test/tools/javap/OptionTest.java

Changeset: 09dc14c713f0
Author:    yan
Date:      2009-07-01 00:24 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/09dc14c713f0

Merge


Changeset: d8f23a81d46f
Author:    yan
Date:      2009-07-07 23:13 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/d8f23a81d46f

Merge


Changeset: 7e0056ded28c
Author:    xdono
Date:      2009-07-13 14:48 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/7e0056ded28c

Added tag jdk7-b64 for changeset d8f23a81d46f

! .hgtags

Changeset: 634f519d6f9a
Author:    xdono
Date:      2009-07-16 10:53 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/634f519d6f9a

Added tag jdk7-b65 for changeset 7e0056ded28c

! .hgtags

Changeset: 86ad2753f3be
Author:    tbell
Date:      2009-07-17 09:14 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/86ad2753f3be

Merge


Changeset: 99b7a25185aa
Author:    jjg
Date:      2009-07-23 11:37 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/99b7a25185aa

6863814: javap crashes when facing array class literals
Reviewed-by: jjg
Contributed-by: mali at csail.mit.edu

! src/share/classes/com/sun/tools/classfile/ExtendedAnnotation.java
+ test/tools/javap/typeAnnotations/ArrayClassLiterals.java

Changeset: 49387c1440d0
Author:    jjg
Date:      2009-07-23 14:15 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/49387c1440d0

6863914: bug number missing from test
Reviewed-by: tbell

! test/tools/javap/typeAnnotations/ArrayClassLiterals.java

Changeset: 631425840408
Author:    jjg
Date:      2009-07-24 14:47 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/631425840408

6863746: javap should not scan ct.sym by default
Reviewed-by: mcimadamore

! 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/Options.java
+ test/tools/javap/T6863746.java

Changeset: d043adadc8b6
Author:    darcy
Date:      2009-07-26 21:27 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/d043adadc8b6

6381698: Warn of decommissioning of apt
Reviewed-by: jjg

! make/build.properties
! src/share/classes/com/sun/mirror/apt/AnnotationProcessor.java
! src/share/classes/com/sun/mirror/apt/AnnotationProcessorEnvironment.java
! src/share/classes/com/sun/mirror/apt/AnnotationProcessorFactory.java
! src/share/classes/com/sun/mirror/apt/AnnotationProcessorListener.java
! src/share/classes/com/sun/mirror/apt/AnnotationProcessors.java
! src/share/classes/com/sun/mirror/apt/Filer.java
! src/share/classes/com/sun/mirror/apt/Messager.java
! src/share/classes/com/sun/mirror/apt/RoundCompleteEvent.java
! src/share/classes/com/sun/mirror/apt/RoundCompleteListener.java
! src/share/classes/com/sun/mirror/apt/RoundState.java
+ src/share/classes/com/sun/mirror/apt/package-info.java
- src/share/classes/com/sun/mirror/apt/package.html
! src/share/classes/com/sun/mirror/declaration/AnnotationMirror.java
! src/share/classes/com/sun/mirror/declaration/AnnotationTypeDeclaration.java
! src/share/classes/com/sun/mirror/declaration/AnnotationTypeElementDeclaration.java
! src/share/classes/com/sun/mirror/declaration/AnnotationValue.java
! src/share/classes/com/sun/mirror/declaration/ClassDeclaration.java
! src/share/classes/com/sun/mirror/declaration/ConstructorDeclaration.java
! src/share/classes/com/sun/mirror/declaration/Declaration.java
! src/share/classes/com/sun/mirror/declaration/EnumConstantDeclaration.java
! src/share/classes/com/sun/mirror/declaration/EnumDeclaration.java
! src/share/classes/com/sun/mirror/declaration/ExecutableDeclaration.java
! src/share/classes/com/sun/mirror/declaration/FieldDeclaration.java
! src/share/classes/com/sun/mirror/declaration/InterfaceDeclaration.java
! src/share/classes/com/sun/mirror/declaration/MemberDeclaration.java
! src/share/classes/com/sun/mirror/declaration/MethodDeclaration.java
! src/share/classes/com/sun/mirror/declaration/Modifier.java
! src/share/classes/com/sun/mirror/declaration/PackageDeclaration.java
! src/share/classes/com/sun/mirror/declaration/ParameterDeclaration.java
! src/share/classes/com/sun/mirror/declaration/TypeDeclaration.java
! src/share/classes/com/sun/mirror/declaration/TypeParameterDeclaration.java
+ src/share/classes/com/sun/mirror/declaration/package-info.java
- src/share/classes/com/sun/mirror/declaration/package.html
! src/share/classes/com/sun/mirror/type/AnnotationType.java
! src/share/classes/com/sun/mirror/type/ArrayType.java
! src/share/classes/com/sun/mirror/type/ClassType.java
! src/share/classes/com/sun/mirror/type/DeclaredType.java
! src/share/classes/com/sun/mirror/type/EnumType.java
! src/share/classes/com/sun/mirror/type/InterfaceType.java
! src/share/classes/com/sun/mirror/type/MirroredTypeException.java
! src/share/classes/com/sun/mirror/type/MirroredTypesException.java
! src/share/classes/com/sun/mirror/type/PrimitiveType.java
! src/share/classes/com/sun/mirror/type/ReferenceType.java
! src/share/classes/com/sun/mirror/type/TypeMirror.java
! src/share/classes/com/sun/mirror/type/TypeVariable.java
! src/share/classes/com/sun/mirror/type/VoidType.java
! src/share/classes/com/sun/mirror/type/WildcardType.java
+ src/share/classes/com/sun/mirror/type/package-info.java
- src/share/classes/com/sun/mirror/type/package.html
! src/share/classes/com/sun/mirror/util/DeclarationFilter.java
! src/share/classes/com/sun/mirror/util/DeclarationScanner.java
! src/share/classes/com/sun/mirror/util/DeclarationVisitor.java
! src/share/classes/com/sun/mirror/util/DeclarationVisitors.java
! src/share/classes/com/sun/mirror/util/Declarations.java
! src/share/classes/com/sun/mirror/util/SimpleDeclarationVisitor.java
! src/share/classes/com/sun/mirror/util/SimpleTypeVisitor.java
! src/share/classes/com/sun/mirror/util/SourceOrderDeclScanner.java
! src/share/classes/com/sun/mirror/util/SourcePosition.java
! src/share/classes/com/sun/mirror/util/TypeVisitor.java
! src/share/classes/com/sun/mirror/util/Types.java
+ src/share/classes/com/sun/mirror/util/package-info.java
- src/share/classes/com/sun/mirror/util/package.html
! src/share/classes/com/sun/tools/apt/comp/Apt.java
! src/share/classes/com/sun/tools/apt/comp/BootstrapAPF.java
! src/share/classes/com/sun/tools/apt/comp/PrintAP.java
! 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/apt/mirror/AptEnv.java
! src/share/classes/com/sun/tools/apt/mirror/apt/AnnotationProcessorEnvironmentImpl.java
! src/share/classes/com/sun/tools/apt/mirror/apt/FilerImpl.java
! src/share/classes/com/sun/tools/apt/mirror/apt/MessagerImpl.java
! src/share/classes/com/sun/tools/apt/mirror/apt/RoundCompleteEventImpl.java
! src/share/classes/com/sun/tools/apt/mirror/apt/RoundStateImpl.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/AnnotationMirrorImpl.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/AnnotationProxyMaker.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/AnnotationTypeDeclarationImpl.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/AnnotationTypeElementDeclarationImpl.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/AnnotationValueImpl.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/ClassDeclarationImpl.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/Constants.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/ConstructorDeclarationImpl.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/DeclarationImpl.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/DeclarationMaker.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/EnumConstantDeclarationImpl.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/EnumDeclarationImpl.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/ExecutableDeclarationImpl.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/FieldDeclarationImpl.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/InterfaceDeclarationImpl.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/MemberDeclarationImpl.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/MethodDeclarationImpl.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/PackageDeclarationImpl.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/ParameterDeclarationImpl.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/TypeDeclarationImpl.java
! src/share/classes/com/sun/tools/apt/mirror/declaration/TypeParameterDeclarationImpl.java
! src/share/classes/com/sun/tools/apt/mirror/type/AnnotationTypeImpl.java
! src/share/classes/com/sun/tools/apt/mirror/type/ArrayTypeImpl.java
! src/share/classes/com/sun/tools/apt/mirror/type/ClassTypeImpl.java
! src/share/classes/com/sun/tools/apt/mirror/type/DeclaredTypeImpl.java
! src/share/classes/com/sun/tools/apt/mirror/type/EnumTypeImpl.java
! src/share/classes/com/sun/tools/apt/mirror/type/InterfaceTypeImpl.java
! src/share/classes/com/sun/tools/apt/mirror/type/PrimitiveTypeImpl.java
! src/share/classes/com/sun/tools/apt/mirror/type/TypeMaker.java
! src/share/classes/com/sun/tools/apt/mirror/type/TypeMirrorImpl.java
! src/share/classes/com/sun/tools/apt/mirror/type/TypeVariableImpl.java
! src/share/classes/com/sun/tools/apt/mirror/type/VoidTypeImpl.java
! src/share/classes/com/sun/tools/apt/mirror/type/WildcardTypeImpl.java
! src/share/classes/com/sun/tools/apt/mirror/util/DeclarationsImpl.java
! src/share/classes/com/sun/tools/apt/mirror/util/SourcePositionImpl.java
! src/share/classes/com/sun/tools/apt/mirror/util/TypesImpl.java
! src/share/classes/com/sun/tools/apt/resources/apt.properties
! test/tools/apt/Basics/apt.sh
! test/tools/apt/Compile/compile.sh

Changeset: cf08b64e87da
Author:    jjg
Date:      2009-07-27 15:20 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/cf08b64e87da

6854244: change source/target used to compile JDK to 7
Reviewed-by: ohair

! make/build.properties

Changeset: 7c2d6da61646
Author:    jjg
Date:      2009-07-27 19:52 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/7c2d6da61646

6865399: some javac files are missing Sun internal API comment
Reviewed-by: darcy

! src/share/classes/com/sun/tools/javac/api/DiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/api/Formattable.java
! src/share/classes/com/sun/tools/javac/api/Messages.java
! src/share/classes/com/sun/tools/javac/code/BoundKind.java
! src/share/classes/com/sun/tools/javac/code/Printer.java
! src/share/classes/com/sun/tools/javac/file/BaseFileObject.java
! src/share/classes/com/sun/tools/javac/file/CacheFSInfo.java
! src/share/classes/com/sun/tools/javac/file/FSInfo.java
! src/share/classes/com/sun/tools/javac/file/JavacFileManager.java
! src/share/classes/com/sun/tools/javac/file/RegularFileObject.java
! src/share/classes/com/sun/tools/javac/file/RelativePath.java
! src/share/classes/com/sun/tools/javac/file/SymbolArchive.java
! src/share/classes/com/sun/tools/javac/file/ZipArchive.java
! src/share/classes/com/sun/tools/javac/file/ZipFileIndex.java
! src/share/classes/com/sun/tools/javac/file/ZipFileIndexArchive.java
! src/share/classes/com/sun/tools/javac/parser/ParserFactory.java
! src/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/util/BasicDiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/util/ForwardingDiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/util/RawDiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/util/Warner.java

Changeset: 777a3efad0d5
Author:    jjg
Date:      2009-07-28 10:36 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/777a3efad0d5

6855990: javap InstructionDetailWriter should support new 308 annotations attribute
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/classfile/ExtendedAnnotation.java
! src/share/classes/com/sun/tools/javap/AnnotationWriter.java
! src/share/classes/com/sun/tools/javap/CodeWriter.java
! src/share/classes/com/sun/tools/javap/InstructionDetailWriter.java
+ src/share/classes/com/sun/tools/javap/TypeAnnotationWriter.java
+ test/tools/javap/typeAnnotations/T6855990.java

Changeset: 85b317ac8a0c
Author:    jjg
Date:      2009-07-28 11:00 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/85b317ac8a0c

6734068: Some variable length attributes set their size incorrectly.
Reviewed-by: mcimadamore

! src/share/classes/com/sun/tools/classfile/CharacterRangeTable_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/ModuleExportTable_attribute.java
! src/share/classes/com/sun/tools/classfile/ModuleMemberTable_attribute.java

Changeset: c2dfab9e2f39
Author:    jjg
Date:      2009-07-29 13:26 -0700
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/c2dfab9e2f39

4777949: Javap Rewrite : Warn javap usage on package classes with simple name.
Reviewed-by: mcimadamore

! 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/resources/javap.properties
+ test/tools/javap/T4777949.java

Changeset: 85fecace920b
Author:    mcimadamore
Date:      2009-07-30 10:29 +0100
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/85fecace920b

6827648: Extremely slow compilation time for visitor pattern code + generics
Summary: Javac unnecessarily recomputates type-substitutions multiple times
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/code/Symbol.java
! src/share/classes/com/sun/tools/javac/code/Types.java

Changeset: b1e027181dd4
Author:    mcimadamore
Date:      2009-07-30 10:30 +0100
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/b1e027181dd4

6862608: rich diagnostic sometimes contain wrong type variable numbering
Summary: The rich formatter generates worng numbers for type-variables in where clauses
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java
+ test/tools/javac/Diagnostics/6862608/T6862608a.java
+ test/tools/javac/Diagnostics/6862608/T6862608a.out
+ test/tools/javac/Diagnostics/6862608/T6862608b.java
+ test/tools/javac/Diagnostics/6862608/T6862608b.out

Changeset: dd5c51734ad9
Author:    mcimadamore
Date:      2009-07-30 10:30 +0100
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/dd5c51734ad9

6864382: NPE in the rich formatter when processing an unattributed type-variable
Summary: Unattributed type variable should not be accessed by the rich formatter when emitting where clauses
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/util/RichDiagnosticFormatter.java
+ test/tools/javac/Diagnostics/6864382/T6864382.java
+ test/tools/javac/Diagnostics/6864382/T6864382.out

Changeset: 6d0add6ad778
Author:    mcimadamore
Date:      2009-07-30 10:30 +0100
URL:       http://hg.openjdk.java.net/nio/nio/langtools/rev/6d0add6ad778

6861837: JCK compilation failures
Summary: Type-annotations processing is accessing type info before they are available in MemberEnter
Reviewed-by: jjg
Contributed-by: mali at csail.mit.edu

! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java
! src/share/classes/com/sun/tools/javac/comp/TransTypes.java
! test/tools/javac/typeAnnotations/InnerClass.java




More information about the nio-dev mailing list