hg: type-annotations/type-annotations/langtools: 10 new changesets
wdietl at gmail.com
wdietl at gmail.com
Fri Jan 18 16:39:29 PST 2013
Changeset: d07506dc4a7d
Author: wmdietl
Date: 2013-01-17 12:33 -0800
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/d07506dc4a7d
Simple rename of a method to work around a scoping problem.
Upstream will work on a nicer solution.
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
Changeset: 2d2b2be57c78
Author: mcimadamore
Date: 2013-01-17 18:15 +0000
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/2d2b2be57c78
8005852: Treatment of '_' as identifier
Summary: warn when '_' is found in an identifier position
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/share/classes/com/sun/tools/javac/parser/Tokens.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! test/tools/javac/lambda/LambdaParserTest.java
Changeset: 75c4577c38e4
Author: wmdietl
Date: 2013-01-17 12:51 -0800
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/75c4577c38e4
Automated merge with http://hg.openjdk.java.net/jdk8/tl/langtools
! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
- test/tools/javac/typeAnnotations/newlocations/BasicTest.java
- test/tools/javac/typeAnnotations/newlocations/BasicTest.out
Changeset: 0d6d63a3f32e
Author: wmdietl
Date: 2013-01-18 13:07 -0800
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/0d6d63a3f32e
Change ContainedBy to Repeatable.
! test/tools/javac/annotations/typeAnnotations/failures/common/arrays/DuplicateTypeAnnotation.out
! test/tools/javac/annotations/typeAnnotations/failures/common/innertypeparams/DuplicateTypeAnnotation.out
! test/tools/javac/annotations/typeAnnotations/failures/common/newarray/DuplicateTypeAnnotation.out
! test/tools/javac/annotations/typeAnnotations/failures/common/parambounds/DuplicateTypeAnnotation.out
! test/tools/javac/annotations/typeAnnotations/failures/common/receiver/DuplicateTypeAnnotation.out
! test/tools/javac/annotations/typeAnnotations/failures/common/rest/DuplicateTypeAnnotation.out
! test/tools/javac/annotations/typeAnnotations/failures/common/typeArgs/DuplicateTypeAnnotation.out
! test/tools/javac/annotations/typeAnnotations/failures/common/typeparams/DuplicateTypeAnnotation.out
! test/tools/javac/annotations/typeAnnotations/failures/common/wildcards/DuplicateTypeAnnotation.out
! test/tools/javac/annotations/typeAnnotations/newlocations/RepeatingTypeAnnotations.java
! test/tools/javac/annotations/typeAnnotations/newlocations/RepeatingTypeAnnotations.out
Changeset: b7593d260c12
Author: wmdietl
Date: 2013-01-18 13:08 -0800
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/b7593d260c12
Change ContainedBy to Repeatable.
! test/tools/javac/annotations/typeAnnotations/referenceinfos/Driver.java
Changeset: 71adceaa8fa8
Author: wmdietl
Date: 2013-01-18 13:10 -0800
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/71adceaa8fa8
Fix problem with unsigned bytes and conversion to int. Improve formatting.
! src/share/classes/com/sun/tools/classfile/TypeAnnotation.java
! src/share/classes/com/sun/tools/javac/code/TargetType.java
! src/share/classes/com/sun/tools/javac/jvm/ClassReader.java
Changeset: 4d6c707bfbaf
Author: wmdietl
Date: 2013-01-18 16:32 -0800
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/4d6c707bfbaf
Compute INNER_TYPE based on the logical nesting of the types, not on the syntactic nesting of the elements. This makes a difference for static classes and interfaces within other classes. Adapt test cases.
! src/share/classes/com/sun/tools/javac/code/TypeAnnotations.java
! test/tools/javac/annotations/typeAnnotations/referenceinfos/MethodReturns.java
! test/tools/javac/annotations/typeAnnotations/referenceinfos/MethodTypeParam.java
! test/tools/javac/annotations/typeAnnotations/referenceinfos/NestedTypes.java
Changeset: 22e417cdddee
Author: ohrstrom
Date: 2013-01-18 00:16 +0100
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/22e417cdddee
8004658: Add internal smart javac wrapper to solve JEP 139
Reviewed-by: jjg
! make/build.properties
! make/build.xml
+ src/share/classes/com/sun/tools/sjavac/BuildState.java
+ src/share/classes/com/sun/tools/sjavac/CleanProperties.java
+ src/share/classes/com/sun/tools/sjavac/CompileChunk.java
+ src/share/classes/com/sun/tools/sjavac/CompileJavaPackages.java
+ src/share/classes/com/sun/tools/sjavac/CompileProperties.java
+ src/share/classes/com/sun/tools/sjavac/CopyFile.java
+ src/share/classes/com/sun/tools/sjavac/JavacState.java
+ src/share/classes/com/sun/tools/sjavac/Log.java
+ src/share/classes/com/sun/tools/sjavac/Main.java
+ src/share/classes/com/sun/tools/sjavac/Module.java
+ src/share/classes/com/sun/tools/sjavac/Package.java
+ src/share/classes/com/sun/tools/sjavac/ProblemException.java
+ src/share/classes/com/sun/tools/sjavac/Source.java
+ src/share/classes/com/sun/tools/sjavac/Transformer.java
+ src/share/classes/com/sun/tools/sjavac/Util.java
+ src/share/classes/com/sun/tools/sjavac/comp/Dependencies.java
+ src/share/classes/com/sun/tools/sjavac/comp/JavaCompilerWithDeps.java
+ src/share/classes/com/sun/tools/sjavac/comp/PubapiVisitor.java
+ src/share/classes/com/sun/tools/sjavac/comp/ResolveWithDeps.java
+ src/share/classes/com/sun/tools/sjavac/comp/SmartFileManager.java
+ src/share/classes/com/sun/tools/sjavac/comp/SmartFileObject.java
+ src/share/classes/com/sun/tools/sjavac/comp/SmartWriter.java
+ src/share/classes/com/sun/tools/sjavac/server/CompilerPool.java
+ src/share/classes/com/sun/tools/sjavac/server/CompilerThread.java
+ src/share/classes/com/sun/tools/sjavac/server/JavacServer.java
+ src/share/classes/com/sun/tools/sjavac/server/PortFile.java
+ src/share/classes/com/sun/tools/sjavac/server/SysInfo.java
+ test/tools/sjavac/SJavac.java
Changeset: 3d84ae209919
Author: mcimadamore
Date: 2013-01-18 15:38 +0000
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/3d84ae209919
8006561: Langtools test failure: missing diags/examples
Summary: forgot to hg add tests
Reviewed-by: jjg
+ test/tools/javac/diags/examples/UnderscoreAsIdentifier.java
+ test/tools/javac/lambda/WarnUnderscoreAsIdent.java
+ test/tools/javac/lambda/WarnUnderscoreAsIdent.out
Changeset: 1f33c9175980
Author: wmdietl
Date: 2013-01-18 16:33 -0800
URL: http://hg.openjdk.java.net/type-annotations/type-annotations/langtools/rev/1f33c9175980
Automated merge with http://hg.openjdk.java.net/jdk8/tl/langtools
! make/build.properties
! make/build.xml
- test/tools/javac/typeAnnotations/newlocations/BasicTest.java
- test/tools/javac/typeAnnotations/newlocations/BasicTest.out
More information about the type-annotations-dev
mailing list