hg: bsd-port/bsd-port/langtools: 24 new changesets
glewis at eyesbeyond.com
glewis at eyesbeyond.com
Sun Aug 15 09:41:57 PDT 2010
Changeset: a5454419dd46
Author: jjg
Date: 2010-07-13 19:14 -0700
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/a5454419dd46
6966732: replace use of static Log.getLocalizedString with non-static alternative where possible
Reviewed-by: darcy
! 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/main/JavaCompiler.java
! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! src/share/classes/com/sun/tools/javac/util/Log.java
Changeset: 0e1fab5cffc8
Author: jjg
Date: 2010-07-13 19:17 -0700
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/0e1fab5cffc8
6968434: test CheckResourceKeys fails on control builds
Reviewed-by: darcy
! test/tools/javac/diags/CheckResourceKeys.java
Changeset: e57b27703e8b
Author: jjg
Date: 2010-07-13 19:20 -0700
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/e57b27703e8b
6968789: incorrect text in "diamond not supported" message
Reviewed-by: darcy
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
Changeset: b49b0d72c071
Author: mcimadamore
Date: 2010-07-15 16:31 +0100
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/b49b0d72c071
6967002: JDK7 b99 javac compilation error (java.lang.AssertionError)
Summary: bug in JavacParser related to parsing of type annotations in varargs position
Reviewed-by: jjg
Contributed-by: mahmood at notnoop.com
! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
+ test/tools/javac/typeAnnotations/6967002/T6967002.java
+ test/tools/javac/typeAnnotations/6967002/T6967002.out
Changeset: 472e74211e11
Author: mcimadamore
Date: 2010-07-15 16:31 +0100
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/472e74211e11
6964669: javac reports error on miranda methods
Summary: synthetic name clash check should not apply to miranda methods
Reviewed-by: jjg
Contributed-by: tomas.zezula at sun.com
! src/share/classes/com/sun/tools/javac/comp/Check.java
+ test/tools/javac/miranda/6964669/T6964669.java
+ test/tools/javac/miranda/6964669/pkg/A.java
+ test/tools/javac/miranda/6964669/pkg/B.java
+ test/tools/javac/miranda/6964669/pkg/C.java
Changeset: 13354e1abba7
Author: darcy
Date: 2010-07-16 19:35 -0700
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/13354e1abba7
6911256: Project Coin: Support Automatic Resource Management (ARM) blocks in the compiler
6964740: Project Coin: More tests for ARM compiler changes
6965277: Project Coin: Correctness issues in ARM implementation
6967065: add -Xlint warning category for Automatic Resource Management (ARM)
Reviewed-by: jjb, darcy, mcimadamore, jjg, briangoetz
Contributed-by: tball at google.com
! make/build.properties
! src/share/classes/com/sun/source/tree/TryTree.java
! src/share/classes/com/sun/source/util/TreeScanner.java
! src/share/classes/com/sun/tools/javac/code/Lint.java
! src/share/classes/com/sun/tools/javac/code/Source.java
! src/share/classes/com/sun/tools/javac/code/Symbol.java
! src/share/classes/com/sun/tools/javac/code/Symtab.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/comp/Flow.java
! src/share/classes/com/sun/tools/javac/comp/Lower.java
! src/share/classes/com/sun/tools/javac/comp/TransTypes.java
! src/share/classes/com/sun/tools/javac/jvm/CRTable.java
! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! 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/TreeCopier.java
! src/share/classes/com/sun/tools/javac/tree/TreeMaker.java
! src/share/classes/com/sun/tools/javac/tree/TreeScanner.java
! src/share/classes/com/sun/tools/javac/tree/TreeTranslator.java
! src/share/classes/com/sun/tools/javac/util/Names.java
+ test/tools/javac/TryWithResources/ArmLint.java
+ test/tools/javac/TryWithResources/ArmLint.out
+ test/tools/javac/TryWithResources/BadTwr.java
+ test/tools/javac/TryWithResources/BadTwr.out
+ test/tools/javac/TryWithResources/BadTwrSyntax.java
+ test/tools/javac/TryWithResources/BadTwrSyntax.out
+ test/tools/javac/TryWithResources/DuplicateResource.java
+ test/tools/javac/TryWithResources/DuplicateResourceDecl.java
+ test/tools/javac/TryWithResources/DuplicateResourceDecl.out
+ test/tools/javac/TryWithResources/ImplicitFinal.java
+ test/tools/javac/TryWithResources/ImplicitFinal.out
+ test/tools/javac/TryWithResources/PlainTry.java
+ test/tools/javac/TryWithResources/PlainTry.out
+ test/tools/javac/TryWithResources/PlainTry6.out
+ test/tools/javac/TryWithResources/ResourceOutsideTry.java
+ test/tools/javac/TryWithResources/ResourceOutsideTry.out
+ test/tools/javac/TryWithResources/ResourceTypeVar.java
+ test/tools/javac/TryWithResources/TwrFlow.java
+ test/tools/javac/TryWithResources/TwrFlow.out
+ test/tools/javac/TryWithResources/TwrInference.java
+ test/tools/javac/TryWithResources/TwrIntersection.java
+ test/tools/javac/TryWithResources/TwrIntersection02.java
+ test/tools/javac/TryWithResources/TwrIntersection02.out
+ test/tools/javac/TryWithResources/TwrMultiCatch.java
+ test/tools/javac/TryWithResources/TwrOnNonResource.java
+ test/tools/javac/TryWithResources/TwrOnNonResource.out
+ test/tools/javac/TryWithResources/TwrTests.java
+ test/tools/javac/TryWithResources/WeirdTwr.java
+ test/tools/javac/processing/model/element/TestResourceVariable.java
Changeset: 3640b60bd0f6
Author: jjg
Date: 2010-07-22 11:02 -0700
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/3640b60bd0f6
6968063: provide examples of code that generate diagnostics
Reviewed-by: mcimadamore
! make/build.xml
+ test/tools/javac/diags/CheckExamples.java
+ test/tools/javac/diags/Example.java
+ test/tools/javac/diags/FileManager.java
+ test/tools/javac/diags/HTMLWriter.java
+ test/tools/javac/diags/README.examples.txt
+ test/tools/javac/diags/RunExamples.java
+ test/tools/javac/diags/examples.not-yet.txt
+ test/tools/javac/diags/examples/AbstractCantBeAccessed.java
+ test/tools/javac/diags/examples/AbstractCantBeInstantiated.java
+ test/tools/javac/diags/examples/AbstractMethodCantHaveBody.java
+ test/tools/javac/diags/examples/AlreadyDefined.java
+ test/tools/javac/diags/examples/AlreadyDefinedImport.java
+ test/tools/javac/diags/examples/AlreadyDefinedStaticImport/AlreadDefinedStaticImport.java
+ test/tools/javac/diags/examples/AlreadyDefinedStaticImport/p/E1.java
+ test/tools/javac/diags/examples/AlreadyDefinedStaticImport/p/E2.java
+ test/tools/javac/diags/examples/AnnoNotApplicable.java
+ test/tools/javac/diags/examples/AnnoNotValidForType.java
+ test/tools/javac/diags/examples/AnnoValueMustBeAnnotation.java
+ test/tools/javac/diags/examples/AnnoValueMustBeClassLiteral.java
+ test/tools/javac/diags/examples/AnnosWithoutProcessors/AnnosWithoutProcessors.java
+ test/tools/javac/diags/examples/AnnosWithoutProcessors/processors/AnnoProc.java
+ test/tools/javac/diags/examples/AnnotationMissingValue.java
+ test/tools/javac/diags/examples/AnnotationMustBeNameValue.java
+ test/tools/javac/diags/examples/AnnotationsNotSupported.java
+ test/tools/javac/diags/examples/AnonClassImplInterfaceNoArgs.java
+ test/tools/javac/diags/examples/AnonClassImplInterfaceNoQualForNew.java
+ test/tools/javac/diags/examples/AnonClassImplInterfaceNoTypeArgs.java
+ test/tools/javac/diags/examples/AnonymousClass.java
+ test/tools/javac/diags/examples/ArrayAndVarargs.java
+ test/tools/javac/diags/examples/ArrayDimMissing.java
+ test/tools/javac/diags/examples/ArrayRequired.java
+ test/tools/javac/diags/examples/AssertAsIdentifier.java
+ test/tools/javac/diags/examples/AssertAsIdentifier2.java
+ test/tools/javac/diags/examples/AttrMustBeConstant.java
+ test/tools/javac/diags/examples/BadSourceFileHeader/BadSourceFileHeader.java
+ test/tools/javac/diags/examples/BadSourceFileHeader/sourcepath/p/A.java
+ test/tools/javac/diags/examples/BreakOutsideSwitchLoop.java
+ test/tools/javac/diags/examples/CallMustBeFirst.java
+ test/tools/javac/diags/examples/CannotCreateArrayWithTypeArgs.java
+ test/tools/javac/diags/examples/CantApplyDiamond.java
+ test/tools/javac/diags/examples/CantAssignToFinal.java
+ test/tools/javac/diags/examples/CantDeref.java
+ test/tools/javac/diags/examples/CantExtendIntfAnno.java
+ test/tools/javac/diags/examples/CantImplement.java
+ test/tools/javac/diags/examples/CantInheritDiffArg.java
+ test/tools/javac/diags/examples/CantRefBeforeConstr.java
+ test/tools/javac/diags/examples/CantResolve.java
+ test/tools/javac/diags/examples/CantResolveArgs.java
+ test/tools/javac/diags/examples/CantResolveArgsParams.java
+ test/tools/javac/diags/examples/CantResolveLocation.java
+ test/tools/javac/diags/examples/CantResolveLocationArgs.java
+ test/tools/javac/diags/examples/CantResolveLocationArgsParams.java
+ test/tools/javac/diags/examples/CantReturnValueForVoid.java
+ test/tools/javac/diags/examples/CatchWithoutTry.java
+ test/tools/javac/diags/examples/ClashesWith.java
+ test/tools/javac/diags/examples/ClassCantWrite.java
+ test/tools/javac/diags/examples/ClassPublicInFile.java
+ test/tools/javac/diags/examples/ConcreteInheritanceConflict.java
+ test/tools/javac/diags/examples/ConstExprRequired.java
+ test/tools/javac/diags/examples/ConstantSVUID.java
+ test/tools/javac/diags/examples/ContinueOutsideLoop.java
+ test/tools/javac/diags/examples/CountError.java
+ test/tools/javac/diags/examples/CountErrorPlural.java
+ test/tools/javac/diags/examples/CountWarn.java
+ test/tools/javac/diags/examples/CountWarnPlural.java
+ test/tools/javac/diags/examples/CyclicAnnoElement.java
+ test/tools/javac/diags/examples/CyclicInheritance.java
+ test/tools/javac/diags/examples/DefaultAllowedInIntfAnnotationMember.java
+ test/tools/javac/diags/examples/DeprecatedFilename.java
+ test/tools/javac/diags/examples/DeprecatedFilenameAdditional.java
+ test/tools/javac/diags/examples/DeprecatedPlural/DeprecatedClass.java
+ test/tools/javac/diags/examples/DeprecatedPlural/DeprecatedFilename.java
+ test/tools/javac/diags/examples/DeprecatedPlural/DeprecatedPlural.java
+ test/tools/javac/diags/examples/DeprecatedPluralAdditional/DeprecatedClass.java
+ test/tools/javac/diags/examples/DeprecatedPluralAdditional/DeprecatedFilename.java
+ test/tools/javac/diags/examples/DeprecatedPluralAdditional/DeprecatedPlural.java
+ test/tools/javac/diags/examples/DeprecatedPluralAdditional/DeprecatedPluralAdditional.java
+ test/tools/javac/diags/examples/DiamondInvalidArg.java
+ test/tools/javac/diags/examples/DiamondInvalidArgs.java
+ test/tools/javac/diags/examples/DiamondNotSupported.java
+ test/tools/javac/diags/examples/DirPathElementNotFound.java
+ test/tools/javac/diags/examples/DivZero.java
+ test/tools/javac/diags/examples/DoesNotOverride.java
+ test/tools/javac/diags/examples/DoesntExist.java
+ test/tools/javac/diags/examples/DotClassExpected.java
+ test/tools/javac/diags/examples/DuplicateAnnotation.java
+ test/tools/javac/diags/examples/DuplicateAnnotationMemberValue.java
+ test/tools/javac/diags/examples/DuplicateCaseLabel.java
+ test/tools/javac/diags/examples/DuplicateClass.java
+ test/tools/javac/diags/examples/DuplicateDefaultLabel.java
+ test/tools/javac/diags/examples/ElseWithoutIf.java
+ test/tools/javac/diags/examples/EmptyBytecodeIdent.java
+ test/tools/javac/diags/examples/EmptyCharLiteral.java
+ test/tools/javac/diags/examples/EmptyIf.java
+ test/tools/javac/diags/examples/EnclClassRequired.java
+ test/tools/javac/diags/examples/EnumAnnoValueMustBeEnumConst.java
+ test/tools/javac/diags/examples/EnumAsIdentifier.java
+ test/tools/javac/diags/examples/EnumAsIdentifier2.java
+ test/tools/javac/diags/examples/EnumCantBeInstantiated.java
+ test/tools/javac/diags/examples/EnumConstRequired.java
+ test/tools/javac/diags/examples/EnumLabelUnqualified.java
+ test/tools/javac/diags/examples/EnumNoFinalize.java
+ test/tools/javac/diags/examples/EnumNoSubclassing.java
+ test/tools/javac/diags/examples/EnumTypesNotExtensible.java
+ test/tools/javac/diags/examples/EnumsMustBeStatic.java
+ test/tools/javac/diags/examples/EnumsNotSupported.java
+ test/tools/javac/diags/examples/ErrProcMessager/ErrProcMessager.java
+ test/tools/javac/diags/examples/ErrProcMessager/processors/AnnoProc.java
+ test/tools/javac/diags/examples/ErrSyntheticNameConflict.java
+ test/tools/javac/diags/examples/Error.java
+ test/tools/javac/diags/examples/ErrorReadingFile.java
+ test/tools/javac/diags/examples/ExceptAlreadyCaught.java
+ test/tools/javac/diags/examples/ExceptNeverThrown.java
+ test/tools/javac/diags/examples/Expected2.java
+ test/tools/javac/diags/examples/Expected3.java
+ test/tools/javac/diags/examples/FinalParamCantBeAssigned.java
+ test/tools/javac/diags/examples/FinallyCannotComplete.java
+ test/tools/javac/diags/examples/FinallyWithoutTry.java
+ test/tools/javac/diags/examples/FloatNumberTooLarge.java
+ test/tools/javac/diags/examples/FloatNumberTooSmall.java
+ test/tools/javac/diags/examples/ForeachNotApplicable.java
+ test/tools/javac/diags/examples/ForeachNotSupported.java
+ test/tools/javac/diags/examples/GenericArrayCreation.java
+ test/tools/javac/diags/examples/GenericThrowable.java
+ test/tools/javac/diags/examples/GenericsNotSupported.java
+ test/tools/javac/diags/examples/HasBeenDeprecated.java
+ test/tools/javac/diags/examples/IdentifierExpected.java
+ test/tools/javac/diags/examples/IllegalBytecodeIdentChar.java
+ test/tools/javac/diags/examples/IllegalChar.java
+ test/tools/javac/diags/examples/IllegalComboModifiers.java
+ test/tools/javac/diags/examples/IllegalEnumStaticRef.java
+ test/tools/javac/diags/examples/IllegalEscapeChar.java
+ test/tools/javac/diags/examples/IllegalForwardRef.java
+ test/tools/javac/diags/examples/IllegalInitializer.java
+ test/tools/javac/diags/examples/IllegalLineEndInCharLit.java
+ test/tools/javac/diags/examples/IllegalNonAsciiDigit.java
+ test/tools/javac/diags/examples/IllegalQualNotIcls.java
+ test/tools/javac/diags/examples/IllegalSelfRef.java
+ test/tools/javac/diags/examples/IllegalStartOfExpr.java
+ test/tools/javac/diags/examples/IllegalUnderscore.java
+ test/tools/javac/diags/examples/IllegalUnicodeEscape.java
+ test/tools/javac/diags/examples/ImportRequiresCanonical/ImportRequiresCanonical.java
+ test/tools/javac/diags/examples/ImportRequiresCanonical/p/Base.java
+ test/tools/javac/diags/examples/ImportRequiresCanonical/p/ExtendsBase.java
+ test/tools/javac/diags/examples/ImproperSVUID.java
+ test/tools/javac/diags/examples/ImproperTypeInnerRawParam.java
+ test/tools/javac/diags/examples/ImproperTypeParamMissing.java
+ test/tools/javac/diags/examples/IncomparableTypes.java
+ test/tools/javac/diags/examples/IncompatibleTypes1.java
+ test/tools/javac/diags/examples/InconvertibleTypes.java
+ test/tools/javac/diags/examples/InexactVarargsCall.java
+ test/tools/javac/diags/examples/InferredDoNotConformToBounds.java
+ test/tools/javac/diags/examples/InheritFromFinal.java
+ test/tools/javac/diags/examples/InitializerMustComplete.java
+ test/tools/javac/diags/examples/InnerClassCantHaveStatic.java
+ test/tools/javac/diags/examples/IntNumberTooLarge.java
+ test/tools/javac/diags/examples/InterfaceExpected.java
+ test/tools/javac/diags/examples/InterfaceNotAllowed.java
+ test/tools/javac/diags/examples/IntfAnnotationCantHaveTypeParams.java
+ test/tools/javac/diags/examples/IntfAnnotationMemberClash.java
+ test/tools/javac/diags/examples/IntfAnnotationsCantHaveParams.java
+ test/tools/javac/diags/examples/IntfAnnotationsCantHaveTypeParams.java
+ test/tools/javac/diags/examples/IntfMethodCantHaveBody.java
+ test/tools/javac/diags/examples/InvalidAnnoMemberType.java
+ test/tools/javac/diags/examples/InvalidBinaryNumber.java
+ test/tools/javac/diags/examples/InvalidHexNumber.java
+ test/tools/javac/diags/examples/InvalidInferredTypes.java
+ test/tools/javac/diags/examples/InvalidInstanceof.java
+ test/tools/javac/diags/examples/InvalidMethodDecl.java
+ test/tools/javac/diags/examples/KindnameClass.java
+ test/tools/javac/diags/examples/KindnameConstructor.java
+ test/tools/javac/diags/examples/KindnameMethod.java
+ test/tools/javac/diags/examples/KindnameVariable.java
+ test/tools/javac/diags/examples/LabelInUse.java
+ test/tools/javac/diags/examples/LocalEnum.java
+ test/tools/javac/diags/examples/LocalVarNeedsFinal.java
+ test/tools/javac/diags/examples/LongSVUID.java
+ test/tools/javac/diags/examples/MalformedFpLit.java
+ test/tools/javac/diags/examples/MalformedSupported/MalformedSupported.java
+ test/tools/javac/diags/examples/MalformedSupported/processors/AnnoProc.java
+ test/tools/javac/diags/examples/MethodDoesNotOverride.java
+ test/tools/javac/diags/examples/MightBeAssignedInLoop.java
+ test/tools/javac/diags/examples/MissingDeprecatedAnnotation.java
+ test/tools/javac/diags/examples/MissingMethodBody.java
+ test/tools/javac/diags/examples/MissingReturnStatement.java
+ test/tools/javac/diags/examples/MissingReturnValue.java
+ test/tools/javac/diags/examples/MissingSVUID.java
+ test/tools/javac/diags/examples/ModifierNotAllowed.java
+ test/tools/javac/diags/examples/MulticatchCantBeAssigned.java
+ test/tools/javac/diags/examples/MulticatchMustBeFinal.java
+ test/tools/javac/diags/examples/MulticatchNotSupported.java
+ test/tools/javac/diags/examples/NameClashSameErasure.java
+ test/tools/javac/diags/examples/NameClashSameErasureNoOverride.java
+ test/tools/javac/diags/examples/NativeMethodCantHaveBody.java
+ test/tools/javac/diags/examples/NeitherConditionalSubtype.java
+ test/tools/javac/diags/examples/NewNotAllowedInAnno.java
+ test/tools/javac/diags/examples/NoArgs.java
+ test/tools/javac/diags/examples/NoExplicitAnnoProcRequested.java
+ test/tools/javac/diags/examples/NoInterfaceExpected.java
+ test/tools/javac/diags/examples/NoInterfaceHere.java
+ test/tools/javac/diags/examples/NoJavaLang.java
+ test/tools/javac/diags/examples/NoSuperclass.java
+ test/tools/javac/diags/examples/NonStaticCantBeRef.java
+ test/tools/javac/diags/examples/NotDefAccessClassIntfCantAccess/NotDefAccessClassIntfCantAccess.java
+ test/tools/javac/diags/examples/NotDefAccessClassIntfCantAccess/p/C.java
+ test/tools/javac/diags/examples/NotDefPublicCantAccess/NotDefPublicCantAccess.java
+ test/tools/javac/diags/examples/NotDefPublicCantAccess/p/C.java
+ test/tools/javac/diags/examples/NotEnclClass.java
+ test/tools/javac/diags/examples/NotLoopLabel.java
+ test/tools/javac/diags/examples/NotWithinBounds.java
+ test/tools/javac/diags/examples/Note.java
+ test/tools/javac/diags/examples/NoteProcMessager/NoteProcMessager.java
+ test/tools/javac/diags/examples/NoteProcMessager/processors/AnnoProc.java
+ test/tools/javac/diags/examples/OperatorCantBeApplied.java
+ test/tools/javac/diags/examples/Orphaned.java
+ test/tools/javac/diags/examples/OverrideDoesntThrow.java
+ test/tools/javac/diags/examples/OverrideIncompatibleReturn.java
+ test/tools/javac/diags/examples/OverrideMeth.java
+ test/tools/javac/diags/examples/OverrideStatic.java
+ test/tools/javac/diags/examples/OverrideUncheckedReturn.java
+ test/tools/javac/diags/examples/OverrideUncheckedThrown.java
+ test/tools/javac/diags/examples/OverrideVarargsExtra.java
+ test/tools/javac/diags/examples/OverrideVarargsMissing.java
+ test/tools/javac/diags/examples/OverrideWeakerAccess.java
+ test/tools/javac/diags/examples/PackageAnnos.java
+ test/tools/javac/diags/examples/PackageInfoAlreadySeen/p/package-info.java
+ test/tools/javac/diags/examples/PackageInfoAlreadySeen/package-info.java
+ test/tools/javac/diags/examples/PathElementNotFound.java
+ test/tools/javac/diags/examples/PkgClashWithClass/p/q.java
+ test/tools/javac/diags/examples/PkgClashWithClass/p/q/C.java
+ test/tools/javac/diags/examples/PossibleFallThrough.java
+ test/tools/javac/diags/examples/PossibleLossPrecision.java
+ test/tools/javac/diags/examples/PrematureEOF.java
+ test/tools/javac/diags/examples/PrintProcessorInfo/PrintProcessorInfo.java
+ test/tools/javac/diags/examples/PrintProcessorInfo/processors/AnnoProc.java
+ test/tools/javac/diags/examples/PrintRounds/PrintRounds.java
+ test/tools/javac/diags/examples/PrintRounds/processors/AnnoProc.java
+ test/tools/javac/diags/examples/ProcCantFindClass/ProcCantFindClass.java
+ test/tools/javac/diags/examples/ProcCantFindClass/processors/AnnoProc.java
+ test/tools/javac/diags/examples/ProcFileReopening/ProcFileReopening.java
+ test/tools/javac/diags/examples/ProcFileReopening/processors/AnnoProc.java
+ test/tools/javac/diags/examples/ProcIllegalFileName/ProcIllegalFileName.java
+ test/tools/javac/diags/examples/ProcIllegalFileName/processors/AnnoProc.java
+ test/tools/javac/diags/examples/ProcIncompatibleSourceVersion/ProcIncompatibleSourceVersion.java
+ test/tools/javac/diags/examples/ProcIncompatibleSourceVersion/processors/AnnoProc.java
+ test/tools/javac/diags/examples/ProcOnlyNoProcs.java
+ test/tools/javac/diags/examples/ProcPackageDoesNotExist/ProcPackageDoesNotExist.java
+ test/tools/javac/diags/examples/ProcPackageDoesNotExist/processors/AnnoProc.java
+ test/tools/javac/diags/examples/ProcTypeRecreate/ProcTypeRecreate.java
+ test/tools/javac/diags/examples/ProcTypeRecreate/processors/AnnoProc.java
+ test/tools/javac/diags/examples/ProcUnclosedTypeFiles/ProcUnclosedTypeFiles.java
+ test/tools/javac/diags/examples/ProcUnclosedTypeFiles/processors/AnnoProc.java
+ test/tools/javac/diags/examples/ProcUseImplicit/ProcUseImplicit.java
+ test/tools/javac/diags/examples/ProcUseImplicit/processors/AnnoProc.java
+ test/tools/javac/diags/examples/ProcUseImplicit/sourcepath/p/SomeClass.java
+ test/tools/javac/diags/examples/ProcUseProcOrImplicit/ProcUseProcOrImplicit.java
+ test/tools/javac/diags/examples/ProcUseProcOrImplicit/processors/AnnoProc.java
+ test/tools/javac/diags/examples/ProcUseProcOrImplicit/sourcepath/p/SomeClass.java
+ test/tools/javac/diags/examples/ProcessorCantInstantiate/ProcessorCantInstantiate.java
+ test/tools/javac/diags/examples/ProcessorCantInstantiate/processors/AnnoProc.java
+ test/tools/javac/diags/examples/ProcessorNotFound.java
+ test/tools/javac/diags/examples/ProcessorWrongType/ProcessorWrongType.java
+ test/tools/javac/diags/examples/ProcessorWrongType/processors/AnnoProc.java
+ test/tools/javac/diags/examples/QualifiedNewStaticClass.java
+ test/tools/javac/diags/examples/RawClassUse.java
+ test/tools/javac/diags/examples/RecursiveConstrInvocation.java
+ test/tools/javac/diags/examples/RedundantCast.java
+ test/tools/javac/diags/examples/RefAmbiguous.java
+ test/tools/javac/diags/examples/RepeatedAnnotationTarget.java
+ test/tools/javac/diags/examples/RepeatedInterface.java
+ test/tools/javac/diags/examples/RepeatedModifier.java
+ test/tools/javac/diags/examples/ReportAccess.java
+ test/tools/javac/diags/examples/ResourceClosed.java
+ test/tools/javac/diags/examples/ResourceMayNotBeAssigned.java
+ test/tools/javac/diags/examples/ResourceNotApplicableToType.java
+ test/tools/javac/diags/examples/ResourceNotReferenced.java
+ test/tools/javac/diags/examples/ReturnOutsideMethod.java
+ test/tools/javac/diags/examples/StaticImportNotSupported.java
+ test/tools/javac/diags/examples/StaticImportOnlyClassesAndInterfaces/Other.java
+ test/tools/javac/diags/examples/StaticImportOnlyClassesAndInterfaces/StaticImportOnlyClassesAndInterfaces.java
+ test/tools/javac/diags/examples/StaticNotQualifiedByType.java
+ test/tools/javac/diags/examples/StringConstRequired.java
+ test/tools/javac/diags/examples/StringSwitchNotSupported.java
+ test/tools/javac/diags/examples/SunApiFilename.java
+ test/tools/javac/diags/examples/SunApiFilenameAdditional.java
+ test/tools/javac/diags/examples/SunApiPlural/SunApiFilename.java
+ test/tools/javac/diags/examples/SunApiPlural/SunApiPlural.java
+ test/tools/javac/diags/examples/SunApiPluralAdditional/SunApiFilename.java
+ test/tools/javac/diags/examples/SunApiPluralAdditional/SunApiPlural.java
+ test/tools/javac/diags/examples/SunApiPluralAdditional/SunApiPluralAdditional.java
+ test/tools/javac/diags/examples/SunProprietary.java
+ test/tools/javac/diags/examples/SuperNotAllowedInEnum.java
+ test/tools/javac/diags/examples/ThrowsNotAllowedInAnno.java
+ test/tools/javac/diags/examples/TryResourceNotSupported.java
+ test/tools/javac/diags/examples/TryWithoutCatchOrFinally.java
+ test/tools/javac/diags/examples/TryWithoutCatchOrFinallyOrResource.java
+ test/tools/javac/diags/examples/TypeAnnotationsNotSupported.java
+ test/tools/javac/diags/examples/TypeFoundRequired.java
+ test/tools/javac/diags/examples/TypeNoParams.java
+ test/tools/javac/diags/examples/TypeReqClassArray.java
+ test/tools/javac/diags/examples/TypeReqRef.java
+ test/tools/javac/diags/examples/TypeVarCantBeDeref.java
+ test/tools/javac/diags/examples/TypeVarMayNotBeFollowedByOtherBounds.java
+ test/tools/javac/diags/examples/TypesIncompatible.java
+ test/tools/javac/diags/examples/UncheckedAssign.java
+ test/tools/javac/diags/examples/UncheckedAssignToVar.java
+ test/tools/javac/diags/examples/UncheckedCall.java
+ test/tools/javac/diags/examples/UncheckedCast.java
+ test/tools/javac/diags/examples/UncheckedClash.java
+ test/tools/javac/diags/examples/UncheckedFilename.java
+ test/tools/javac/diags/examples/UncheckedFilenameAdditional.java
+ test/tools/javac/diags/examples/UncheckedGenericArrayCreation.java
+ test/tools/javac/diags/examples/UncheckedImplement.java
+ test/tools/javac/diags/examples/UncheckedMethodInvocation.java
+ test/tools/javac/diags/examples/UncheckedPlural/UncheckedFilename.java
+ test/tools/javac/diags/examples/UncheckedPlural/UncheckedPlural.java
+ test/tools/javac/diags/examples/UncheckedPluralAdditional/UncheckedFilename1.java
+ test/tools/javac/diags/examples/UncheckedPluralAdditional/UncheckedFilename2.java
+ test/tools/javac/diags/examples/UncheckedPluralAdditional/UncheckedPluralAdditional.java
+ test/tools/javac/diags/examples/UnclosedBytecodeIdent.java
+ test/tools/javac/diags/examples/UnclosedCharLiteral.java
+ test/tools/javac/diags/examples/UnclosedComment.java
+ test/tools/javac/diags/examples/UnclosedStringLiteral.java
+ test/tools/javac/diags/examples/UndefinedLabel.java
+ test/tools/javac/diags/examples/UndeterminedType1.java
+ test/tools/javac/diags/examples/UnmatchedProcessorOptions/UnmatchedProcessorOptions.java
+ test/tools/javac/diags/examples/UnmatchedProcessorOptions/processors/AnnoProc.java
+ test/tools/javac/diags/examples/UnnamedPackage.java
+ test/tools/javac/diags/examples/UnreachableStatement.java
+ test/tools/javac/diags/examples/UnreportedException.java
+ test/tools/javac/diags/examples/UnreportedExceptionDefaultConstructor.java
+ test/tools/javac/diags/examples/UnsupportedBinaryLiteral.java
+ test/tools/javac/diags/examples/UnsupportedEncoding.java
+ test/tools/javac/diags/examples/UnsupportedFpLit.java
+ test/tools/javac/diags/examples/UnsupportedUnderscoreLiteral.java
+ test/tools/javac/diags/examples/VarMightAlreadyBeAssigned.java
+ test/tools/javac/diags/examples/VarMightNotHaveBeenInitialized.java
+ test/tools/javac/diags/examples/VarargsClash.java
+ test/tools/javac/diags/examples/VarargsFilename.java
+ test/tools/javac/diags/examples/VarargsFilenameAdditional.java
+ test/tools/javac/diags/examples/VarargsImplement.java
+ test/tools/javac/diags/examples/VarargsNonReifiableType.java
+ test/tools/javac/diags/examples/VarargsNotSupported.java
+ test/tools/javac/diags/examples/VarargsOverride.java
+ test/tools/javac/diags/examples/VarargsPlural/VarargsFilename.java
+ test/tools/javac/diags/examples/VarargsPlural/VarargsPlural.java
+ test/tools/javac/diags/examples/VarargsPluralAdditional/VarargsFilename.java
+ test/tools/javac/diags/examples/VarargsPluralAdditional/VarargsPlural.java
+ test/tools/javac/diags/examples/VarargsPluralAdditional/VarargsPluralAdditional.java
+ test/tools/javac/diags/examples/Verbose.java
+ test/tools/javac/diags/examples/VoidNotAllowed.java
+ test/tools/javac/diags/examples/WarnForwardRef.java
+ test/tools/javac/diags/examples/WarnProcMessager/WarnProcMessager.java
+ test/tools/javac/diags/examples/WarnProcMessager/processors/AnnoProc.java
+ test/tools/javac/diags/examples/WarnSelfRef.java
+ test/tools/javac/diags/examples/WarnSyntheticNameConflict.java
+ test/tools/javac/diags/examples/WarningAndWerror.java
+ test/tools/javac/diags/examples/WhereCaptured.java
+ test/tools/javac/diags/examples/WhereCaptured1.java
+ test/tools/javac/diags/examples/WhereIntersection.java
+ test/tools/javac/diags/examples/WhereTypeVar.java
+ test/tools/javac/diags/examples/WrongNumberTypeArgs.java
Changeset: 4172cfff05f0
Author: jjg
Date: 2010-07-26 14:18 -0700
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/4172cfff05f0
6971882: Remove -XDstdout from javac test
Reviewed-by: darcy
! test/tools/javac/4980495/static/Test.java
! test/tools/javac/4980495/std/Test.java
! test/tools/javac/6304921/T6304921.java
! test/tools/javac/6330920/T6330920.java
! test/tools/javac/6491592/T6491592.java
! test/tools/javac/6717241/T6717241a.java
! test/tools/javac/6717241/T6717241b.java
! test/tools/javac/ClassFileModifiers/ClassModifiers.java
! test/tools/javac/ClassFileModifiers/MemberModifiers.java
! test/tools/javac/CyclicInheritance.java
! test/tools/javac/Digits.java
! test/tools/javac/ExtendArray.java
! test/tools/javac/ExtendsAccess/ExtendsAccess.java
! test/tools/javac/FloatingPointChanges/BadConstructorModifiers.java
! test/tools/javac/IllegalAnnotation.java
! test/tools/javac/InnerNamedConstant_2.java
! test/tools/javac/InterfaceMemberClassModifiers.java
! test/tools/javac/LocalClasses_2.java
! test/tools/javac/NameCollision.java
! test/tools/javac/NestedInnerClassNames.java
! test/tools/javac/NonStaticFieldExpr1.java
! test/tools/javac/NonStaticFieldExpr2.java
! test/tools/javac/NonStaticFieldExpr3.java
! test/tools/javac/OverridePosition.java
! test/tools/javac/QualifiedAccess/QualifiedAccess_1.java
! test/tools/javac/QualifiedAccess/QualifiedAccess_2.java
! test/tools/javac/QualifiedAccess/QualifiedAccess_3.java
! test/tools/javac/StringsInSwitch/BadlyTypedLabel1.java
! test/tools/javac/StringsInSwitch/BadlyTypedLabel2.java
! test/tools/javac/StringsInSwitch/NonConstantLabel.java
! test/tools/javac/StringsInSwitch/RepeatedStringCaseLabels1.java
! test/tools/javac/StringsInSwitch/RepeatedStringCaseLabels2.java
! test/tools/javac/SynchronizedClass.java
! test/tools/javac/T4093617/T4093617.java
! test/tools/javac/T4906100.java
! test/tools/javac/T4994049/T4994049.java
! test/tools/javac/T5003235/T5003235a.java
! test/tools/javac/T5003235/T5003235b.java
! test/tools/javac/T5003235/T5003235c.java
! test/tools/javac/T5024091/T5024091.java
! test/tools/javac/T5048776.java
! test/tools/javac/T6214885.java
! test/tools/javac/T6224167.java
! test/tools/javac/T6227617.java
! test/tools/javac/T6230128.java
! test/tools/javac/T6231847.java
! test/tools/javac/T6241723.java
! test/tools/javac/T6245591.java
! test/tools/javac/T6247324.java
! test/tools/javac/T6394563.java
! test/tools/javac/annotations/6214965/T6214965.java
! test/tools/javac/annotations/6365854/T6365854.java
! test/tools/javac/danglingDep/DepX.java
! test/tools/javac/danglingDep/NoDepX.java
! test/tools/javac/danglingDep/Test1.java
! test/tools/javac/depDocComment/DeprecatedDocComment.java
! test/tools/javac/depDocComment/SuppressDeprecation.java
! test/tools/javac/depOverrides/annotation/Test1.java
! test/tools/javac/depOverrides/annotation/Test2.java
! test/tools/javac/depOverrides/annotation/Test3.java
! test/tools/javac/depOverrides/doccomment/Test1.java
! test/tools/javac/depOverrides/doccomment/Test2.java
! test/tools/javac/depOverrides/doccomment/Test3.java
! test/tools/javac/enum/6384542/T6384542.java
! test/tools/javac/enum/6384542/T6384542a.java
! test/tools/javac/enum/forwardRef/T6425594.java
! test/tools/javac/generics/5009937/T5009937.java
! test/tools/javac/generics/6207386/T6207386.java
! test/tools/javac/generics/6359951/T6359951.java
! test/tools/javac/generics/6677785/T6677785.java
! test/tools/javac/generics/6723444/T6723444.java
! test/tools/javac/generics/inference/6611449/T6611449.java
! test/tools/javac/generics/inference/6718364/T6718364.java
! test/tools/javac/generics/wildcards/6437894/T6437894.java
! test/tools/javac/lint/NoWarn.java
! test/tools/javac/mandatoryWarnings/deprecated/Test.java
! test/tools/javac/mandatoryWarnings/unchecked/Test.java
! test/tools/javac/miranda/T4666866.java
! test/tools/javac/missingSuperRecovery/MissingSuperRecovery.java
! test/tools/javac/policy/test1/Test1a.java
! test/tools/javac/policy/test2/Test.java
! test/tools/javac/positions/T6253161.java
! test/tools/javac/positions/T6253161a.java
! test/tools/javac/positions/T6264029.java
! test/tools/javac/processing/messager/6362067/T6362067.java
! test/tools/javac/processing/warnings/TestSourceVersionWarnings.java
! test/tools/javac/protectedAccess/ProtectedMemberAccess2.java
! test/tools/javac/protectedAccess/ProtectedMemberAccess3.java
! test/tools/javac/protectedAccess/ProtectedMemberAccess4.java
! test/tools/javac/rawDiags/Error.java
! test/tools/javac/rawDiags/Note.java
! test/tools/javac/rawDiags/Warning.java
! test/tools/javac/unicode/UnicodeNewline.java
! test/tools/javac/warnings/Deprecation.java
! test/tools/javac/warnings/DivZero.java
! test/tools/javac/warnings/FallThrough.java
! test/tools/javac/warnings/Unchecked.java
Changeset: d1bd93028447
Author: jjg
Date: 2010-07-26 14:25 -0700
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/d1bd93028447
6957438: improve code for generating warning messages containing option names
Reviewed-by: mcimadamore
! src/share/classes/com/sun/tools/javac/code/Lint.java
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Check.java
! src/share/classes/com/sun/tools/javac/comp/Flow.java
! src/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/share/classes/com/sun/tools/javac/file/Paths.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
! src/share/classes/com/sun/tools/javac/util/AbstractDiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/util/AbstractLog.java
! src/share/classes/com/sun/tools/javac/util/BasicDiagnosticFormatter.java
! src/share/classes/com/sun/tools/javac/util/JCDiagnostic.java
! src/share/classes/com/sun/tools/javac/util/MandatoryWarningHandler.java
! test/tools/javac/diags/examples/CountWarn.java
! test/tools/javac/diags/examples/CountWarnPlural.java
! test/tools/javac/diags/examples/Error.java
Changeset: b29160d1b3e0
Author: jjg
Date: 2010-07-27 11:32 -0700
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/b29160d1b3e0
6972327: JCTree.pos incorrect for annotations without modifiers and package
Reviewed-by: mcimadamore
Contributed-by: jan.lahoda at sun.com
! src/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/share/classes/com/sun/tools/javac/tree/TreeMaker.java
+ test/tools/javac/T6972327.java
Changeset: ed354a00f76b
Author: jjg
Date: 2010-07-27 11:52 -0700
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/ed354a00f76b
6403456: -Werror should work with annotation processing
Reviewed-by: darcy
! src/share/classes/com/sun/tools/javac/processing/JavacMessager.java
! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
+ test/tools/javac/processing/werror/WError1.java
+ test/tools/javac/processing/werror/WError1.out
+ test/tools/javac/processing/werror/WErrorGen.java
+ test/tools/javac/processing/werror/WErrorGen.out
+ test/tools/javac/processing/werror/WErrorLast.java
+ test/tools/javac/processing/werror/WErrorLast.out
Changeset: 36c4ec4525b4
Author: mcimadamore
Date: 2010-07-29 15:56 +0100
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/36c4ec4525b4
6938454: Unable to determine generic type in program that compiles under Java 6
Summary: a redundant dubtyping check causes spurious inference failure
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/comp/Attr.java
! src/share/classes/com/sun/tools/javac/comp/Infer.java
+ test/tools/javac/generics/inference/6938454/T6938454a.java
+ test/tools/javac/generics/inference/6938454/T6938454b.java
Changeset: e79e8efe1b3e
Author: mcimadamore
Date: 2010-07-29 15:57 +0100
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/e79e8efe1b3e
6972747: CheckExamples fail when assertions are enabled
Summary: The test calls the wrong version of JavacMessage constructor
Reviewed-by: jjg
! test/tools/javac/diags/Example.java
Changeset: 62f3f07002ea
Author: mcimadamore
Date: 2010-07-29 15:57 +0100
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/62f3f07002ea
6970833: Try-with-resource implementation throws an NPE during Flow analysis
Summary: Updated logic not to rely upon Symbol.implementation (which check in superinterfaces)
Reviewed-by: jjg
! src/share/classes/com/sun/tools/javac/comp/Flow.java
! src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
+ test/tools/javac/TryWithResources/ResourceInterface.java
+ test/tools/javac/TryWithResources/ResourceInterface.out
Changeset: 4a7979c3ce15
Author: jjg
Date: 2010-07-29 18:06 -0700
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/4a7979c3ce15
6972556: warning for using a file name instead of a binary name for Filer.createSourceFile
Reviewed-by: darcy
! src/share/classes/com/sun/tools/javac/processing/JavacFiler.java
! src/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/diags/examples/ProcSuspiciousClassName/ProcSuspiciousClassName.java
+ test/tools/javac/diags/examples/ProcSuspiciousClassName/processors/AnnoProc.java
Changeset: 8a5c98a695ae
Author: jjg
Date: 2010-07-29 19:27 -0700
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/8a5c98a695ae
6340549: javax.tools.JavaCompilerTool.getStandardFileManager().list() includes directories
Reviewed-by: darcy
+ test/tools/javac/T6340549.java
Changeset: 2cf925ad67ab
Author: jjg
Date: 2010-07-29 19:30 -0700
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/2cf925ad67ab
6966604: JavacFiler not correctly notified of lastRound
Reviewed-by: darcy
! src/share/classes/com/sun/tools/javac/processing/JavacFiler.java
! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
! test/tools/javac/diags/examples.not-yet.txt
+ test/tools/javac/diags/examples/ProcFileCreateLastRound/ProcFileCreateLastRound.java
+ test/tools/javac/diags/examples/ProcFileCreateLastRound/processors/AnnoProc.java
+ test/tools/javac/processing/filer/TestLastRound.java
+ test/tools/javac/processing/filer/TestLastRound.out
! test/tools/javac/processing/werror/WErrorGen.java
Changeset: 077eb94c912d
Author: lana
Date: 2010-07-29 22:04 -0700
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/077eb94c912d
Merge
Changeset: 38e2c23309f1
Author: darcy
Date: 2010-08-02 13:35 -0700
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/38e2c23309f1
6971877: Project Coin: improve semantics of suppressed exceptions in try-with-resources
Reviewed-by: jjb
+ test/tools/javac/TryWithResources/TwrSuppression.java
Changeset: 6318230cdb82
Author: jjg
Date: 2010-08-02 16:29 -0700
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/6318230cdb82
6973626: test/tools/javac/processing/* tests fail with assertions enabled
Reviewed-by: darcy
! src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
Changeset: 186feb2042f0
Author: lana
Date: 2010-08-02 19:46 -0700
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/186feb2042f0
Merge
Changeset: aaecac256d39
Author: lana
Date: 2010-08-09 16:03 -0700
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/aaecac256d39
Merge
Changeset: 112fcc00659d
Author: cl
Date: 2010-08-13 11:38 -0700
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/112fcc00659d
Added tag jdk7-b105 for changeset aaecac256d39
! .hgtags
Changeset: d3564f381c7c
Author: Greg Lewis <glewis at eyesbeyond.com>
Date: 2010-08-14 11:45 -0700
URL: http://hg.openjdk.java.net/bsd-port/bsd-port/langtools/rev/d3564f381c7c
Merge from main OpenJDK repository
More information about the bsd-port-dev
mailing list