hg: jdk/jdk: 4 new changesets

jan.lahoda at oracle.com jan.lahoda at oracle.com
Mon Apr 20 10:47:30 UTC 2020


Changeset: 9bd3b559bf3a
Author:    jlahoda
Date:      2020-04-20 12:36 +0200
URL:       https://hg.openjdk.java.net/jdk/jdk/rev/9bd3b559bf3a

8241950: JShell could support auto-indent
Reviewed-by: rfield

! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/ConsoleIOContext.java
! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/IOContext.java
! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/JShellTool.java
! src/jdk.jshell/share/classes/jdk/internal/jshell/tool/resources/l10n.properties
! test/langtools/jdk/jshell/CommandCompletionTest.java
! test/langtools/jdk/jshell/HistoryUITest.java
+ test/langtools/jdk/jshell/IndentUITest.java
! test/langtools/jdk/jshell/PasteAndMeasurementsUITest.java
! test/langtools/jdk/jshell/ReplToolTesting.java
! test/langtools/jdk/jshell/ToolBasicTest.java

Changeset: 11d647889879
Author:    jlahoda
Date:      2020-04-20 12:36 +0200
URL:       https://hg.openjdk.java.net/jdk/jdk/rev/11d647889879

8242802: javac crashes when checking equals and hashCode in unresolvable anonymous class
Summary: Preventing NullPointerException when a class has an erroneous supertype and does not have an implementation of the equals method.
Reviewed-by: darcy, vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Check.java
+ test/langtools/tools/javac/6563143/InvalidAnonymous.java
+ test/langtools/tools/javac/6563143/InvalidAnonymous.out

Changeset: a66adffbd4dc
Author:    jlahoda
Date:      2020-04-20 12:36 +0200
URL:       https://hg.openjdk.java.net/jdk/jdk/rev/a66adffbd4dc

8243047: javac may crash when processing exits in class initializers
Summary: Flow should handle invalid exits from class initializers gracefully
Reviewed-by: vromero

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Flow.java
+ test/langtools/tools/javac/recovery/ClassBlockExits.java
+ test/langtools/tools/javac/recovery/ClassBlockExitsErrors.java
+ test/langtools/tools/javac/recovery/ClassBlockExitsErrors.out

Changeset: 8ff71be9d3a6
Author:    jlahoda
Date:      2020-04-20 12:36 +0200
URL:       https://hg.openjdk.java.net/jdk/jdk/rev/8ff71be9d3a6

8243074: Misplaced and/or duplicate super or this constructor invocation not attributed
Summary: Fully attributing misplaced and/or duplicated super/this constructor invocations
Reviewed-by: mcimadamore

! src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java
! test/langtools/tools/javac/api/TestGetElementReference.java
+ test/langtools/tools/javac/api/TestGetElementReferenceDataWithErrors.java



More information about the jdk-all-changes mailing list