On Mon, 3 Aug 2026 11:40:54 GMT, ExE Boss <[email protected]> wrote: >> Chen Liang has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains seven commits: >> >> - Merge branch 'master' of github.com:openjdk/jdk into exp/vector-value-decl >> - Merge branch 'master' of github.com:openjdk/jdk into exp/vector-value-decl >> - Vector value JVM support >> - Merge branch 'master' of github.com:openjdk/jdk into exp/vector-value-decl >> - Merge branch 'master' of github.com:openjdk/jdk into exp/vector-value-decl >> - Merge branch 'master' of github.com:openjdk/jdk into exp/vector-value-decl >> - Vector API can be value classes! > > src/java.base/share/classes/jdk/internal/vm/vector/VectorSupport.java line > 171: > >> 169: public VectorPayload(Object payload) { >> 170: this.payload = payload; >> 171: } > > This probably should do the `this.payload` assignment before the `super()` > call, even when preview features are disabled: > Suggestion: > > public VectorPayload(Object payload) { > this.payload = payload; > super(); > }
The compiler does that automatically, a value class, or here an abstract value class have the super() called at the end ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/32113#discussion_r4445701682
