From mali at csail.mit.edu Mon Nov 9 10:15:24 2009 From: mali at csail.mit.edu (mali at csail.mit.edu) Date: Mon, 09 Nov 2009 18:15:24 +0000 Subject: hg: type-annotations/type-annotations/langtools: 77 new changesets Message-ID: <20091109181747.9EFDE41C90@hg.openjdk.java.net> Changeset: dd98acd9f717 Author: jjg Date: 2009-09-08 11:29 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/dd98acd9f717 6879346: files have Windows newlines Reviewed-by: darcy ! src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclet.xml ! test/com/sun/javadoc/testCRLineSeparator/TestCRLineSeparator.java ! test/com/sun/javadoc/testCRLineSeparator/pkg/MyClass.java ! test/com/sun/javadoc/testHref/package-list ! test/com/sun/javadoc/testLinkOption/testNewLineInLink/package.html ! test/com/sun/javadoc/testNoPackagesFile/TestNoPackagesFile.java ! test/com/sun/javadoc/testOverridenMethods/TestMultiInheritence.java ! test/com/sun/javadoc/testRelativeLinks/pkg/package.html ! test/com/sun/javadoc/testTaglets/TestTaglets.java ! test/com/sun/javadoc/testWarnings/pkg/package.html ! test/tools/javah/SubClassConsts.win Changeset: 261c54b2312e Author: jjg Date: 2009-09-08 11:43 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/261c54b2312e 6879371: javap does not close internal default file manager Reviewed-by: darcy ! src/share/classes/com/sun/tools/javap/JavapTask.java + test/tools/javap/T6879371.java Changeset: bfad32768345 Author: xdono Date: 2009-09-17 13:47 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/bfad32768345 Added tag jdk7-b72 for changeset 261c54b2312e ! .hgtags Changeset: ebb6ad5a95bb Author: jjg Date: 2009-09-08 13:53 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/ebb6ad5a95bb 5093723: REGRESSION: ClassCastException in SingleIndexWriter Reviewed-by: jjg Contributed-by: ahe at google.com ! src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java ! src/share/classes/com/sun/tools/doclets/formats/html/resources/standard.properties + test/com/sun/javadoc/5093723/DocumentedClass.java + test/com/sun/javadoc/5093723/T5093723.java + test/com/sun/javadoc/5093723/UndocumentedClass.java Changeset: 14735c7932d7 Author: xdono Date: 2009-09-22 14:06 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/14735c7932d7 6884624: Update copyright year Summary: Update copyright for files that have been modified in 2009 through Septermber Reviewed-by: tbell, ohair ! src/share/classes/com/sun/tools/javac/code/Type.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/RegularFileObject.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/ZipFileIndexArchive.java ! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java ! src/share/classes/com/sun/tools/javap/JavapTask.java ! test/com/sun/javadoc/lib/JavadocTester.java ! test/com/sun/javadoc/testCRLineSeparator/TestCRLineSeparator.java ! test/com/sun/javadoc/testCRLineSeparator/pkg/MyClass.java ! test/com/sun/javadoc/testNoPackagesFile/TestNoPackagesFile.java ! test/com/sun/javadoc/testOverridenMethods/TestMultiInheritence.java ! test/com/sun/javadoc/testTaglets/TestTaglets.java ! test/tools/apt/Basics/apt.sh ! test/tools/apt/Basics/print.sh ! test/tools/apt/Compile/compile.sh ! test/tools/javac/4846262/Test.sh ! test/tools/javac/6302184/T6302184.sh ! test/tools/javac/6627362/T6627362.java ! test/tools/javac/ClassPathTest/ClassPathTest.sh ! test/tools/javac/ExtDirs/ExtDirs.sh ! test/tools/javac/MissingInclude.sh ! test/tools/javac/ProtectedInnerClass/ProtectedInnerClass.sh ! test/tools/javac/T5090006/compiler.sh ! test/tools/javac/api/6440333/T6440333.java ! test/tools/javac/api/Sibling.java ! test/tools/javac/code/ArrayClone.java ! test/tools/javac/constDebug/ConstDebug.sh ! test/tools/javac/fatalErrors/NoJavaLang.sh ! test/tools/javac/generics/inference/6302954/T6476073.java ! test/tools/javac/innerClassFile/Driver.sh ! test/tools/javac/javazip/Test.sh ! test/tools/javac/meth/MakeNegTests.sh ! test/tools/javac/newlines/Newlines.sh ! test/tools/javac/quid/MakeNegTests.sh ! test/tools/javac/quid/QuotedIdent.java ! test/tools/javac/quid/QuotedIdent2.java ! test/tools/javac/stackmap/T4955930.sh ! test/tools/javac/unicode/SupplementaryJavaID6.sh ! test/tools/javah/6257087/foo.sh ! test/tools/javah/ConstMacroTest.sh ! test/tools/javah/MissingParamClassTest.sh ! test/tools/javah/ReadOldClass.sh ! test/tools/javap/T4975569.java ! test/tools/javap/pathsep.sh ! test/tools/javap/stackmap/T6271292.sh Changeset: 071a4e36cd87 Author: jjg Date: 2009-09-08 14:08 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/071a4e36cd87 6709246: ClassCastException in javadoc Reviewed-by: jjg Contributed-by: ahe at google.com ! src/share/classes/com/sun/tools/javadoc/AnnotationDescImpl.java + test/tools/javadoc/annotations/missing/Main.java + test/tools/javadoc/annotations/missing/somepackage/MissingAnnotationClass.java Changeset: f8be8bf150c3 Author: jjg Date: 2009-09-14 17:13 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/f8be8bf150c3 6881317: regression: NPE in CloseableURLClassLoader Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/file/CloseableURLClassLoader.java Changeset: 9dd34ed62341 Author: jjg Date: 2009-09-15 12:20 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/9dd34ed62341 6882235: invalid exponent causes silent javac crash Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java + test/tools/javac/T6882235.java + test/tools/javac/T6882235.out Changeset: 69eaccd3ea85 Author: jjg Date: 2009-09-15 18:36 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/69eaccd3ea85 6860965: Project Coin: binary literals 6860973: Project Coin: Underscores in literals Summary: [Portions contributed by Bruce Chapman] Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/code/Source.java ! src/share/classes/com/sun/tools/javac/parser/Scanner.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties ! test/tools/javac/enum/6384542/T6384542.out + test/tools/javac/literals/BadBinaryLiterals.6.out + test/tools/javac/literals/BadBinaryLiterals.7.out + test/tools/javac/literals/BadBinaryLiterals.java + test/tools/javac/literals/BadUnderscoreLiterals.6.out + test/tools/javac/literals/BadUnderscoreLiterals.7.out + test/tools/javac/literals/BadUnderscoreLiterals.java + test/tools/javac/literals/BinaryLiterals.java + test/tools/javac/literals/UnderscoreLiterals.java Changeset: 5dd400fd62d9 Author: tbell Date: 2009-09-18 08:48 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/5dd400fd62d9 Merge Changeset: 789ee1acf107 Author: darcy Date: 2009-09-21 21:08 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/789ee1acf107 6884227: Clarify ordering requirements of javax.lang.model.TypeElement.getEnclosedElements Reviewed-by: ahe ! src/share/classes/javax/lang/model/element/TypeElement.java Changeset: 9596dff46093 Author: tbell Date: 2009-09-25 14:24 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/9596dff46093 Merge Changeset: e992e602788e Author: darcy Date: 2009-09-23 18:29 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/e992e602788e 6517779: javax.lang.model.util.Elements.getConstantExpression() doesn't throw any exception 6517907: javax.lang.model.util.Elements.getConstantExpression() with negative byte value fails Summary: Fix various problems with Elements.getConstantExpression() Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/util/Constants.java ! src/share/classes/com/sun/tools/javac/util/Convert.java + test/tools/javac/processing/model/util/elements/Foo.java + test/tools/javac/processing/model/util/elements/TestGetConstantExpression.java Changeset: 49359d0e6a9c Author: jjg Date: 2009-09-23 18:48 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/49359d0e6a9c 6410637: Make decision on deprecated methods in DefaultFileManager and BaseFileObject. 6747645: ZipFileObject.getName is incorrectly deprecated 6885123: JavaFileObject getName issues Reviewed-by: mcimadamore ! src/share/classes/com/sun/tools/apt/mirror/util/SourcePositionImpl.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/RegularFileObject.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/ZipFileIndexArchive.java ! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java ! src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java ! src/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java ! src/share/classes/com/sun/tools/javac/util/DiagnosticSource.java ! src/share/classes/com/sun/tools/javac/util/JCDiagnostic.java ! src/share/classes/com/sun/tools/javac/util/Log.java ! src/share/classes/com/sun/tools/javac/util/RawDiagnosticFormatter.java ! src/share/classes/com/sun/tools/javadoc/SourcePositionImpl.java ! src/share/classes/javax/tools/SimpleJavaFileObject.java + test/tools/javac/4241573/T4241573.java ! test/tools/javac/6589361/T6589361.java ! test/tools/javac/Diagnostics/6769027/T6769027.java ! test/tools/javac/T6705935.java ! test/tools/javac/api/6411310/T6411310.java + test/tools/javac/api/6411310/Test.java ! test/tools/javac/api/6733837/T6733837.java Changeset: c287d51c57da Author: jjg Date: 2009-09-23 19:15 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/c287d51c57da 6572945: javah should be written as an annotation processor, not a doclet Reviewed-by: darcy ! make/build.xml ! src/share/classes/com/sun/tools/javah/Gen.java + src/share/classes/com/sun/tools/javah/InternalError.java ! src/share/classes/com/sun/tools/javah/JNI.java + src/share/classes/com/sun/tools/javah/JavahFileManager.java + src/share/classes/com/sun/tools/javah/JavahTask.java + src/share/classes/com/sun/tools/javah/JavahTool.java ! src/share/classes/com/sun/tools/javah/LLNI.java ! src/share/classes/com/sun/tools/javah/Main.java - src/share/classes/com/sun/tools/javah/MainDoclet.java ! src/share/classes/com/sun/tools/javah/Mangle.java + src/share/classes/com/sun/tools/javah/NativeHeaderTool.java ! src/share/classes/com/sun/tools/javah/TypeSignature.java ! src/share/classes/com/sun/tools/javah/Util.java - src/share/classes/com/sun/tools/javah/resources/Linux_ppc.properties - src/share/classes/com/sun/tools/javah/resources/Linux_sparc.properties - src/share/classes/com/sun/tools/javah/resources/SunOS_sparc.properties - src/share/classes/com/sun/tools/javah/resources/SunOS_sparcv9.properties ! src/share/classes/com/sun/tools/javah/resources/l10n.properties - src/share/classes/com/sun/tools/javah/resources/win32_x86.properties ! src/share/classes/com/sun/tools/javap/DisassemblerTool.java + test/tools/javah/6572945/T6572945.java + test/tools/javah/6572945/TestClass1.java + test/tools/javah/6572945/TestClass2.java + test/tools/javah/6572945/TestClass3.java + test/tools/javah/6572945/gold/jni.dir.1/TestClass1.h + test/tools/javah/6572945/gold/jni.dir.1/TestClass1_Inner1.h + test/tools/javah/6572945/gold/jni.dir.1/TestClass1_Inner2.h + test/tools/javah/6572945/gold/jni.dir.1/TestClass2.h + test/tools/javah/6572945/gold/jni.file.1 + test/tools/javah/6572945/gold/jni.file.2 + test/tools/javah/6572945/gold/jni.file.3 ! test/tools/javah/MissingParamClassTest.sh + test/tools/javah/compareTest/CompareTest.java + test/tools/javah/compareTest/CompareTest.sh + test/tools/javah/compareTest/FindNativeFiles.java + test/tools/javah/compareTest/README Changeset: d0f541480556 Author: darcy Date: 2009-09-24 16:00 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/d0f541480556 6337964: should ignore last comma in annotation array Reviewed-by: jjg ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java + test/tools/javac/annotations/pos/TrailingComma.java Changeset: 4776a869fdfa Author: tbell Date: 2009-09-25 22:04 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/4776a869fdfa Merge ! 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/RegularFileObject.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/ZipFileIndexArchive.java ! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java - src/share/classes/com/sun/tools/javah/MainDoclet.java - src/share/classes/com/sun/tools/javah/resources/Linux_ppc.properties - src/share/classes/com/sun/tools/javah/resources/Linux_sparc.properties - src/share/classes/com/sun/tools/javah/resources/SunOS_sparc.properties - src/share/classes/com/sun/tools/javah/resources/SunOS_sparcv9.properties - src/share/classes/com/sun/tools/javah/resources/win32_x86.properties ! test/tools/javah/MissingParamClassTest.sh Changeset: c6d0c55b1aba Author: jjg Date: 2009-09-28 16:48 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/c6d0c55b1aba 6886348: apt incorrectly uses Scope.table Reviewed-by: darcy ! src/share/classes/com/sun/tools/apt/comp/Apt.java Changeset: e526e39579ae Author: jjg Date: 2009-10-13 14:02 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/e526e39579ae 6887895: CONSTANT_Class_info getBaseName does not handle arrays of primitives correctly Reviewed-by: ksrini ! src/share/classes/com/sun/tools/classfile/ConstantPool.java + test/tools/javap/classfile/T6887895.java Changeset: 8a4543b30586 Author: jjg Date: 2009-10-13 15:26 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/8a4543b30586 6891079: Compiler allows invalid binary literals 0b and oBL Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/parser/Scanner.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties + test/tools/javac/literals/T6891079.java + test/tools/javac/literals/T6891079.out Changeset: 86b773b7cb40 Author: jjg Date: 2009-10-14 15:41 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/86b773b7cb40 6838467: JSR199 FileObjects don't obey general contract of equals. Reviewed-by: darcy ! 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/RegularFileObject.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/jvm/ClassReader.java ! test/tools/javac/api/6440528/T6440528.java + test/tools/javac/api/T6838467.java Changeset: b8936a7930fe Author: darcy Date: 2009-10-14 18:56 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/b8936a7930fe 6558804: Specification for Elements.getDocComment(Element e) should be clarified Reviewed-by: jjg ! src/share/classes/javax/lang/model/util/Elements.java Changeset: f2b4ccd57f54 Author: mali Date: 2009-09-13 04:37 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/f2b4ccd57f54 bug fixes for types api ! src/share/classes/com/sun/tools/javac/code/Type.java ! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java ! src/share/classes/com/sun/tools/javac/code/Types.java ! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java Changeset: 536fbbedff41 Author: mali Date: 2009-09-14 02:22 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/536fbbedff41 fix bug crashes ! src/share/classes/com/sun/tools/javac/code/Type.java ! src/share/classes/com/sun/tools/javac/code/Types.java Changeset: 2c6b7d9d4418 Author: mali Date: 2009-09-14 02:42 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/2c6b7d9d4418 reapply compiler changes - error related to hg rollback ! src/share/classes/com/sun/tools/javac/code/Type.java ! src/share/classes/com/sun/tools/javac/code/Types.java ! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java Changeset: 15cf86ed1655 Author: mali Date: 2009-09-15 17:57 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/15cf86ed1655 separate type annotations from declaration annotations in classfile - handles arrays! ! src/share/classes/com/sun/tools/javac/code/TypeAnnotationPosition.java ! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java ! src/share/classes/com/sun/tools/javac/comp/Annotate.java ! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java ! src/share/classes/com/sun/tools/javac/comp/TransTypes.java Changeset: deeb16050ec3 Author: mali Date: 2009-09-16 00:40 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/deeb16050ec3 populate annotated type trees in Attr ! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java Changeset: ad4036433c61 Author: mali Date: 2009-09-18 00:48 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/ad4036433c61 fix bugs related to 'new @C Object @A [] @B []' ! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java Changeset: 5434c7b16026 Author: mali Date: 2009-09-18 02:44 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/5434c7b16026 handle vararg annotations properly in parser ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java Changeset: ecce0202585d Author: mali Date: 2009-09-18 03:02 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/ecce0202585d remove JCNewArray.annotations - JCNewArray doesn't need special treatement ! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java ! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/share/classes/com/sun/tools/javac/tree/JCTree.java ! src/share/classes/com/sun/tools/javac/tree/Pretty.java ! src/share/classes/com/sun/tools/javac/tree/TreeScanner.java ! src/share/classes/com/sun/tools/javac/tree/TreeTranslator.java Changeset: 371610409bbd Author: mali Date: 2009-09-18 11:28 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/371610409bbd bring back JCNewArray.annotations for 'new String @A [] { }' disable type population for now ! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/share/classes/com/sun/tools/javac/tree/JCTree.java ! src/share/classes/com/sun/tools/javac/tree/Pretty.java ! src/share/classes/com/sun/tools/javac/tree/TreeScanner.java ! src/share/classes/com/sun/tools/javac/tree/TreeTranslator.java Changeset: fb30feaa3419 Author: mali Date: 2009-09-18 16:31 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/fb30feaa3419 proper test against TypeVar equality in subst ! src/share/classes/com/sun/tools/javac/code/Types.java Changeset: 86064d3a92d2 Author: mali Date: 2009-09-18 16:32 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/86064d3a92d2 fix a ClassCastException (backported from jsr308 ! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java Changeset: cab6072d3805 Author: mali Date: 2009-09-18 19:02 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/cab6072d3805 minor memory optimization - create Annotator only if needed ! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java Changeset: 271152213a4b Author: mali Date: 2009-09-18 19:06 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/271152213a4b bug fix (delay typeannotation to flush() rather than done()) ! src/share/classes/com/sun/tools/javac/comp/Annotate.java ! src/share/classes/com/sun/tools/javac/comp/MemberEnter.java Changeset: 03c881c1960e Author: mali Date: 2009-09-22 17:51 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/03c881c1960e properly insert annotations in arrays in type casts ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java Changeset: d44979456c2d Author: mali Date: 2009-09-22 20:35 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/d44979456c2d populate position info for annotated class literals ! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java Changeset: 510706380ea4 Author: mali Date: 2009-09-23 00:23 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/510706380ea4 handle population of '@A int [].class' ! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java ! src/share/classes/com/sun/tools/javac/jvm/Gen.java ! src/share/classes/com/sun/tools/javac/tree/Pretty.java ! src/share/classes/com/sun/tools/javac/tree/TreeInfo.java Changeset: f718d759df63 Author: mali Date: 2009-09-23 00:29 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/f718d759df63 bug fix for missing CLASS_LITERAL_GENERIC_OR_ARRAY ! src/share/classes/com/sun/tools/javap/AnnotationWriter.java Changeset: bf4e5e31afc9 Author: mali Date: 2009-09-23 00:30 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/bf4e5e31afc9 typo fix ! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java Changeset: ad04af851271 Author: mali Date: 2009-09-23 22:50 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/ad04af851271 byte of 255 is actually -1 in classfiel ! src/share/classes/com/sun/tools/classfile/ExtendedAnnotation.java Changeset: 235e9dd991c9 Author: mali Date: 2009-09-23 22:51 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/235e9dd991c9 properly label METHOD_RETURN target type ! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java Changeset: 22acb7c65099 Author: mali Date: 2009-09-23 22:54 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/22acb7c65099 adding a testing framework for reference info values + test/tools/javap/typeAnnotations/referenceinfos/ClassExtends.java + test/tools/javap/typeAnnotations/referenceinfos/ClassTypeParam.java + test/tools/javap/typeAnnotations/referenceinfos/Driver.java + test/tools/javap/typeAnnotations/referenceinfos/Fields.java + test/tools/javap/typeAnnotations/referenceinfos/MethodParameters.java + test/tools/javap/typeAnnotations/referenceinfos/MethodReceivers.java + test/tools/javap/typeAnnotations/referenceinfos/MethodReturns.java + test/tools/javap/typeAnnotations/referenceinfos/MethodThrows.java + test/tools/javap/typeAnnotations/referenceinfos/MethodTypeParam.java + test/tools/javap/typeAnnotations/referenceinfos/ReferenceInfoUtil.java Changeset: 5c855b12d9e3 Author: mali Date: 2009-09-24 01:15 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/5c855b12d9e3 correct test cases ! test/tools/javap/typeAnnotations/referenceinfos/ClassExtends.java ! test/tools/javap/typeAnnotations/referenceinfos/ClassTypeParam.java ! test/tools/javap/typeAnnotations/referenceinfos/Fields.java ! test/tools/javap/typeAnnotations/referenceinfos/MethodParameters.java ! test/tools/javap/typeAnnotations/referenceinfos/MethodReceivers.java ! test/tools/javap/typeAnnotations/referenceinfos/MethodReturns.java ! test/tools/javap/typeAnnotations/referenceinfos/MethodThrows.java ! test/tools/javap/typeAnnotations/referenceinfos/MethodTypeParam.java Changeset: a82ea108541a Author: mali Date: 2009-09-30 14:46 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/a82ea108541a Automated merge with ssh://mali at hg.openjdk.java.net/jdk7/tl/langtools - .jcheck/conf ! make/build.xml ! src/share/classes/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java ! src/share/classes/com/sun/tools/javac/code/Source.java ! src/share/classes/com/sun/tools/javac/code/Type.java ! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java ! src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java ! src/share/classes/com/sun/tools/javac/parser/Scanner.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties Changeset: 637ac5e866c1 Author: mali Date: 2009-10-02 00:03 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/637ac5e866c1 fail if jtreg tests fail ! make/build.xml Changeset: 087a92fc7f3d Author: mali Date: 2009-10-02 02:36 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/087a92fc7f3d revert failure for tests ! make/build.xml Changeset: 67ac095e4edd Author: mali Date: 2009-10-02 11:49 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/67ac095e4edd correct bugid for jtreg tests ! test/tools/javac/typeAnnotations/newlocations/Varargs.java ! test/tools/javac/typeAnnotations/packageanno/PackageProcessor.java ! test/tools/javap/typeAnnotations/DeadCode.java Changeset: ff087d638d4c Author: mali Date: 2009-10-02 13:02 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/ff087d638d4c fix a StackOverflow bug ! src/share/classes/com/sun/tools/javac/code/Type.java Changeset: c527a49358f6 Author: mali Date: 2009-10-02 14:06 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/c527a49358f6 MemberSelectTrees position point to the '.' ! src/share/classes/com/sun/tools/javac/parser/JavacParser.java Changeset: df24ec5e77f1 Author: mali Date: 2009-10-02 16:22 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/df24ec5e77f1 add tests for class literals and casts + test/tools/javap/typeAnnotations/referenceinfos/ClassLiterals.java ! test/tools/javap/typeAnnotations/referenceinfos/Driver.java + test/tools/javap/typeAnnotations/referenceinfos/TypeCasts.java Changeset: b6cde64275c5 Author: mali Date: 2009-10-04 00:47 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/b6cde64275c5 add tests for type tests (instanceof) targets + test/tools/javap/typeAnnotations/referenceinfos/TypeTests.java Changeset: 0c048480bc3c Author: mali Date: 2009-10-04 00:51 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/0c048480bc3c add some multi-dimension array tests ! test/tools/javap/typeAnnotations/referenceinfos/ClassLiterals.java ! test/tools/javap/typeAnnotations/referenceinfos/TypeCasts.java Changeset: c3d62472a66a Author: mali Date: 2009-10-04 01:04 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/c3d62472a66a minor test cleanup ! test/tools/javap/typeAnnotations/referenceinfos/TypeCasts.java Changeset: c3141e7a2461 Author: mali Date: 2009-10-04 01:05 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/c3141e7a2461 adding tests for object creation TODO: Do some for array creation + test/tools/javap/typeAnnotations/referenceinfos/NewObjects.java Changeset: f65e028f914c Author: mali Date: 2009-10-04 01:12 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/f65e028f914c correct object creation test ! test/tools/javap/typeAnnotations/referenceinfos/NewObjects.java Changeset: efbb5c3c1f51 Author: mali Date: 2009-10-05 09:59 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/efbb5c3c1f51 non-jsr308: print annotation element detail header - when all elements are optional ! src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/AnnotationTypeBuilder.java ! src/share/classes/com/sun/tools/doclets/internal/toolkit/resources/doclet.xml Changeset: 3ef3ab808cb9 Author: mali Date: 2009-10-14 01:34 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/3ef3ab808cb9 update a jtreg test - complexity along with compile-time constant optimizations ! test/tools/javap/typeAnnotations/referenceinfos/TypeCasts.java Changeset: da846417406e Author: mali Date: 2009-10-14 01:35 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/da846417406e Automated merge with ssh://mali at hg.openjdk.java.net/jdk7/tl/langtools - .jcheck/conf ! src/share/classes/com/sun/tools/javac/parser/Scanner.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties Changeset: f06cca8e6727 Author: mali Date: 2009-10-14 17:54 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/f06cca8e6727 enrich the Type API fields properly fix crash related to boot class path ! src/share/classes/com/sun/tools/javac/comp/Attr.java Changeset: d59448a6c146 Author: mali Date: 2009-10-14 18:07 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/d59448a6c146 bug fix for crash when annotation generic targets ! src/share/classes/com/sun/tools/javac/comp/Attr.java Changeset: ceec3b512150 Author: mali Date: 2009-10-15 23:41 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/ceec3b512150 Automated merge with ssh://mali at hg.openjdk.java.net/jdk7/tl/langtools - .jcheck/conf ! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java Changeset: d498d6ef9c6c Author: xdono Date: 2009-10-02 11:26 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/d498d6ef9c6c Added tag jdk7-b73 for changeset 9596dff46093 ! .hgtags Changeset: 1a66b08deed0 Author: tbell Date: 2009-10-07 14:14 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/1a66b08deed0 Merge - src/share/classes/com/sun/tools/javac/file/Old199.java - src/share/classes/com/sun/tools/javah/MainDoclet.java - src/share/classes/com/sun/tools/javah/resources/Linux_ppc.properties - src/share/classes/com/sun/tools/javah/resources/Linux_sparc.properties - src/share/classes/com/sun/tools/javah/resources/SunOS_sparc.properties - src/share/classes/com/sun/tools/javah/resources/SunOS_sparcv9.properties - src/share/classes/com/sun/tools/javah/resources/win32_x86.properties Changeset: 79c13af9217e Author: xdono Date: 2009-10-15 16:40 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/79c13af9217e Added tag jdk7-b74 for changeset 1a66b08deed0 ! .hgtags Changeset: d1e62f78c48b Author: tbell Date: 2009-10-15 22:48 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/d1e62f78c48b Merge Changeset: 6ba399eff2cb Author: jjg Date: 2009-10-16 12:56 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/6ba399eff2cb 6888367: classfile library parses signature attributes incorrectly Reviewed-by: ksrini ! src/share/classes/com/sun/tools/classfile/Signature.java ! src/share/classes/com/sun/tools/classfile/Type.java ! src/share/classes/com/sun/tools/javap/ClassWriter.java ! src/share/classes/com/sun/tools/javap/LocalVariableTypeTableWriter.java + test/tools/javap/classfile/6888367/T6888367.java Changeset: 2485f5641ed0 Author: jjg Date: 2009-10-19 13:38 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/2485f5641ed0 6889255: javac MethodSymbol throws NPE if ClassReader does not read parameter names correctly Reviewed-by: darcy ! src/share/classes/com/sun/tools/javac/code/Symbol.java ! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java + test/tools/javac/6889255/T6889255.java Changeset: a491ad1bb624 Author: jjg Date: 2009-10-20 10:59 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/a491ad1bb624 6893062: remove support for obsolete attributes Reviewed-by: ksrini ! src/share/classes/com/sun/tools/classfile/Attribute.java ! src/share/classes/com/sun/tools/classfile/ClassWriter.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/javap/AttributeWriter.java ! src/share/classes/com/sun/tools/javap/JavapTask.java ! src/share/classes/com/sun/tools/javap/Options.java Changeset: b1adcbe5bd6e Author: mali Date: 2009-10-23 17:52 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/b1adcbe5bd6e Automated merge with http://hg.openjdk.java.net/jdk7/tl/langtools - .jcheck/conf ! src/share/classes/com/sun/tools/classfile/Attribute.java ! src/share/classes/com/sun/tools/classfile/ClassWriter.java ! src/share/classes/com/sun/tools/javac/code/Symbol.java ! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java ! src/share/classes/com/sun/tools/javap/AttributeWriter.java Changeset: 66107fd66788 Author: mali Date: 2009-10-24 04:05 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/66107fd66788 close raf reference (open bugzilla ticket #100113) ! src/share/classes/com/sun/tools/javac/file/ZipFileIndex.java Changeset: 61db4d3eb315 Author: mali Date: 2009-10-24 04:41 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/61db4d3eb315 add Types.typeAnnotationOf() method (parallel to Element.getAnnotation()) ! src/share/classes/com/sun/tools/javac/model/JavacElements.java ! src/share/classes/com/sun/tools/javac/model/JavacTypes.java ! src/share/classes/javax/lang/model/util/Types.java Changeset: 1622c479717e Author: mali Date: 2009-10-24 04:50 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/1622c479717e add API methods to retreive method receivers ! src/share/classes/com/sun/tools/javac/model/JavacTypes.java ! src/share/classes/javax/lang/model/util/Types.java Changeset: 5919953dace0 Author: mali Date: 2009-11-05 14:34 -0500 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/5919953dace0 properly find the upper bound of annotated type variable - bug fix ! src/share/classes/com/sun/tools/javac/code/Type.java + test/tools/javac/typeAnnotations/TargetTypes.java Changeset: ade96bac2238 Author: mali Date: 2009-10-25 11:35 -0400 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/ade96bac2238 corrected type_index type of class extends/implements and throws ! src/share/classes/com/sun/tools/classfile/ExtendedAnnotation.java ! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java ! src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java Changeset: 93da5700c65a Author: mali Date: 2009-11-05 14:34 -0500 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/93da5700c65a Automated merge with https://basic.jsr308-langtools.googlecode.com/hg/ Changeset: c8cdcc0bb083 Author: mali Date: 2009-11-05 14:56 -0500 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/c8cdcc0bb083 correct test (remove public) ! test/tools/javac/typeAnnotations/TargetTypes.java From mali at csail.mit.edu Mon Nov 9 10:18:14 2009 From: mali at csail.mit.edu (mali at csail.mit.edu) Date: Mon, 09 Nov 2009 18:18:14 +0000 Subject: hg: type-annotations/type-annotations/langtools: 4 new changesets Message-ID: <20091109181821.4941241C91@hg.openjdk.java.net> Changeset: c8083dc525b6 Author: mikejwre Date: 2009-10-30 10:55 -0700 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/c8083dc525b6 Added tag jdk7-b75 for changeset 2485f5641ed0 ! .hgtags Changeset: 8fb9b4be3cb1 Author: darcy Date: 2009-11-02 21:36 -0800 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/8fb9b4be3cb1 6827009: Project Coin: Strings in Switch Reviewed-by: jjg, mcimadamore ! src/share/classes/com/sun/tools/javac/code/Source.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Lower.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties + test/tools/javac/StringsInSwitch/BadlyTypedLabel1.java + test/tools/javac/StringsInSwitch/BadlyTypedLabel1.out + test/tools/javac/StringsInSwitch/BadlyTypedLabel2.java + test/tools/javac/StringsInSwitch/BadlyTypedLabel2.out + test/tools/javac/StringsInSwitch/NonConstantLabel.java + test/tools/javac/StringsInSwitch/NonConstantLabel.out + test/tools/javac/StringsInSwitch/OneCaseSwitches.java + test/tools/javac/StringsInSwitch/RSCL1.out + test/tools/javac/StringsInSwitch/RSCL2.out + test/tools/javac/StringsInSwitch/RepeatedStringCaseLabels1.java + test/tools/javac/StringsInSwitch/RepeatedStringCaseLabels2.java + test/tools/javac/StringsInSwitch/StringSwitches.java Changeset: 82f6e78efcf5 Author: tbell Date: 2009-11-06 17:29 -0800 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/82f6e78efcf5 Merge - 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 Changeset: 006dddbfb38a Author: mali Date: 2009-11-09 13:15 -0500 URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/006dddbfb38a Automated merge with http://hg.openjdk.java.net/jdk7/tl/langtools - .jcheck/conf ! src/share/classes/com/sun/tools/javac/code/Source.java ! src/share/classes/com/sun/tools/javac/comp/Attr.java ! src/share/classes/com/sun/tools/javac/comp/Lower.java ! src/share/classes/com/sun/tools/javac/resources/compiler.properties