On Sun, 5 Oct 2025 13:50:53 GMT, Vicente Romero <[email protected]> wrote:
>> implementation of [1] in valhalla. This means that code like:
>>
>> class Inner7 {
>> private int x;
>>
>> public Inner7(byte y) {
>> x = y; // error can't refer to an instance field before a this()
>> invocation
>> this((int)y);
>> }
>> public Inner7(int x) {
>> this.x = x;
>> super();
>> }
>> }
>>
>>
>> won't be accepted by javac
>> [1] https://bugs.openjdk.org/browse/JDK-8368719
>
> Vicente Romero has updated the pull request incrementally with one additional
> commit since the last revision:
>
> addressing review comments
Looks good. We can later determine what kind of warning we want to emit for
existing usages.
-------------
Marked as reviewed by liach (Committer).
PR Review:
https://git.openjdk.org/valhalla/pull/1659#pullrequestreview-3302531031