git: openjdk/mobile: 4 new changesets

duke duke at openjdk.java.net
Mon Apr 20 10:52:46 UTC 2020


Changeset: f08b5a80
Author:    Jan Lahoda <jlahoda at openjdk.org>
Date:      2020-04-20 12:36:09 +0000
URL:       https://git.openjdk.java.net/mobile/commit/f08b5a80

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: df82d9a4
Author:    Jan Lahoda <jlahoda at openjdk.org>
Date:      2020-04-20 12:36:09 +0000
URL:       https://git.openjdk.java.net/mobile/commit/df82d9a4

8242802: javac crashes when checking equals and hashCode in unresolvable anonymous class

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: 4b6e75dc
Author:    Jan Lahoda <jlahoda at openjdk.org>
Date:      2020-04-20 12:36:09 +0000
URL:       https://git.openjdk.java.net/mobile/commit/4b6e75dc

8243047: javac may crash when processing exits in class initializers

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: ec1c111c
Author:    Jan Lahoda <jlahoda at openjdk.org>
Date:      2020-04-20 12:36:09 +0000
URL:       https://git.openjdk.java.net/mobile/commit/ec1c111c

8243074: Misplaced and/or duplicate super or this constructor invocation not attributed

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 mobile-changes mailing list