hg: bsd-port/jdk9/langtools: 7 new changesets
glewis at eyesbeyond.com
glewis at eyesbeyond.com
Sun Mar 15 03:57:52 UTC 2015
Changeset: 1e3266d870d6
Author: mcimadamore
Date: 2015-02-27 11:51 +0000
URL: http://hg.openjdk.java.net/bsd-port/jdk9/langtools/rev/1e3266d870d6
8073550: java* tools: replace obj.getClass hacks with Assert.checkNonNull or Objects.requireNonNull
Summary: replace getClass() with approapriate NPE checks
Reviewed-by: jjg
Contributed-by: aleksey.shipilev at oracle.com
! src/java.compiler/share/classes/javax/tools/DiagnosticCollector.java
! src/java.compiler/share/classes/javax/tools/ForwardingFileObject.java
! src/java.compiler/share/classes/javax/tools/ForwardingJavaFileManager.java
! src/java.compiler/share/classes/javax/tools/JavaFileObject.java
! src/java.compiler/share/classes/javax/tools/SimpleJavaFileObject.java
! src/jdk.compiler/share/classes/com/sun/source/util/DocTreePath.java
! src/jdk.compiler/share/classes/com/sun/source/util/TreePath.java
! src/jdk.compiler/share/classes/com/sun/tools/classfile/ClassReader.java
! src/jdk.compiler/share/classes/com/sun/tools/classfile/Dependencies.java
! src/jdk.compiler/share/classes/com/sun/tools/doclint/Checker.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/ClientCodeWrapper.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacScope.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTaskImpl.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/api/JavacTool.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/RegularFileObject.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/file/ZipFileIndexArchive.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/nio/PathFileObject.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/JCTree.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/BaseFileManager.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/ListBuffer.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Log.java
! src/jdk.compiler/share/classes/com/sun/tools/javah/JavahTask.java
! src/jdk.compiler/share/classes/com/sun/tools/javap/AttributeWriter.java
! src/jdk.compiler/share/classes/com/sun/tools/javap/JavapTask.java
! src/jdk.javadoc/share/classes/com/sun/tools/doclets/internal/toolkit/Content.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/Start.java
! src/jdk.javadoc/share/classes/com/sun/tools/javadoc/api/JavadocTool.java
Changeset: 218d589184d3
Author: mcimadamore
Date: 2015-02-27 18:20 +0000
URL: http://hg.openjdk.java.net/bsd-port/jdk9/langtools/rev/218d589184d3
8073842: Invalid method reference when referencing a method on a wildcard type
Summary: Method rteference lookup logic doesn't skip type-variables as required by javac.
Reviewed-by: jlahoda
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Types.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Resolve.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TransTypes.java
+ test/tools/javac/lambda/8073842/T8073842.java
Changeset: 592d64800143
Author: sadayapalam
Date: 2015-03-02 10:41 +0530
URL: http://hg.openjdk.java.net/bsd-port/jdk9/langtools/rev/592d64800143
8071453: Allow interface methods to be private
Reviewed-by: mcimadamore
Contributed-by: maurizio.cimadamore at oracle.com, srikanth.adayapalam at oracle.com
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Flags.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Lower.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler.properties
+ test/tools/javac/defaultMethods/private/Private01.java
+ test/tools/javac/defaultMethods/private/Private02.java
+ test/tools/javac/defaultMethods/private/Private02.out
+ test/tools/javac/defaultMethods/private/Private03.java
+ test/tools/javac/defaultMethods/private/Private03.out
+ test/tools/javac/defaultMethods/private/Private04.java
+ test/tools/javac/defaultMethods/private/Private05.java
+ test/tools/javac/defaultMethods/private/Private06.java
+ test/tools/javac/defaultMethods/private/Private06.out
+ test/tools/javac/defaultMethods/private/Private07.java
+ test/tools/javac/defaultMethods/private/Private07.out
+ test/tools/javac/defaultMethods/private/Private08.java
+ test/tools/javac/defaultMethods/private/Private08.out
+ test/tools/javac/defaultMethods/private/Private09.java
+ test/tools/javac/defaultMethods/private/Private09.out
! test/tools/javac/defaultMethods/syntax/TestDefaultMethodsSyntax.java
+ test/tools/javac/diags/examples/PrivateInterfaceMethodsNotSupported.java
Changeset: 84849fdb360b
Author: mcimadamore
Date: 2015-03-05 13:10 +0000
URL: http://hg.openjdk.java.net/bsd-port/jdk9/langtools/rev/84849fdb360b
8073645: Add lambda-based lazy eval versions of Assert.check methods
Summary: Enhance Assert so that lazy string computation can occurr where needed; enhance static roding rule checkers to make sure the right version of the method is called.
Reviewed-by: jlahoda
! make/intellij/build.xml
! make/intellij/workspace.xml
! make/test/crules/CodingRulesAnalyzerPlugin/Test.java
! make/test/crules/CodingRulesAnalyzerPlugin/Test.out
! make/tools/crules/AssertCheckAnalyzer.java
! make/tools/crules/resources/crules.properties
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeMaker.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Assert.java
Changeset: edf685b5d413
Author: mcimadamore
Date: 2015-03-05 15:03 +0000
URL: http://hg.openjdk.java.net/bsd-port/jdk9/langtools/rev/edf685b5d413
8073432: Object.getClass() throws stackless NPE, due to C2 intrinsic
Summary: Javac should generate NPE checks using Objects.requireNonNull if -target >= 7
Reviewed-by: jlahoda
Contributed-by: aleksey.shipilev at oracle.com
! src/jdk.compiler/share/classes/com/sun/tools/javac/code/Symtab.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Target.java
! src/jdk.compiler/share/classes/com/sun/tools/javac/util/Names.java
+ test/tools/javac/8074306/TestSyntheticNullChecks.java
Changeset: ed34864f3b43
Author: lana
Date: 2015-03-05 15:24 -0800
URL: http://hg.openjdk.java.net/bsd-port/jdk9/langtools/rev/ed34864f3b43
Merge
Changeset: 75cedc6db8c2
Author: katleman
Date: 2015-03-12 13:35 -0700
URL: http://hg.openjdk.java.net/bsd-port/jdk9/langtools/rev/75cedc6db8c2
Added tag jdk9-b54 for changeset ed34864f3b43
! .hgtags
More information about the bsd-port-dev
mailing list