RFR: 8255968: Confusing error message for inaccessible constructor [v2]
Guoxiong Li
github.com+13688759+lgxbslgx at openjdk.java.net
Tue Nov 24 15:32:31 UTC 2020
> Hi all,
>
> When using inaccessible constructor, compiler would output some confusing error message occasionally. These confusing error message is related to the constructor order. See [JDK-8255968](https://bugs.openjdk.java.net/browse/JDK-8255968) for more information.
> This patch solves this bug, regardless of the construction order, compiler can always output expected message.
> Thank you for taking the time to review.
>
> Best Regards.
Guoxiong Li has updated the pull request incrementally with one additional commit since the last revision:
Unify error messages for inaccessible constructor
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/1389/files
- new: https://git.openjdk.java.net/jdk/pull/1389/files/020311a1..a9a68149
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1389&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1389&range=00-01
Stats: 87 lines in 16 files changed: 75 ins; 5 del; 7 mod
Patch: https://git.openjdk.java.net/jdk/pull/1389.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/1389/head:pull/1389
PR: https://git.openjdk.java.net/jdk/pull/1389
More information about the compiler-dev
mailing list