RFR: 8255968: Confusing error message for inaccessible constructor [v4]
mcimadamore at openjdk.java.net
Mon Nov 30 11:46:58 UTC 2020
On Thu, 26 Nov 2020 03:36:53 GMT, Guoxiong Li <github.com+13688759+lgxbslgx at openjdk.org> wrote:
>> 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:
> Revise test cases. Rename classes and divide the jtreg tags by unit.
Marked as reviewed by mcimadamore (Reviewer).
More information about the compiler-dev