On Wed, 8 Apr 2026 02:07:30 GMT, Vicente Romero <[email protected]> wrote:
>> Fields of identity records are generated with the ACC_STRICT_INIT flag but >> the class file corresponding to the record is not marked as using preview >> features. This bug is fixed in this PR, >> >> TIA > > Vicente Romero has updated the pull request with a new target base due to a > merge or a rebase. The incremental webrev excludes the unrelated changes > brought in by the merge/rebase. The pull request contains five additional > commits since the last revision: > > - Merge branch 'lworld' into JDK-8380322 > - fixing tests failing > - minor change > - Merge branch 'lworld' into JDK-8380322 > - 8380322: [lworld] Identity records use preview feature We might have to desugar the `FieldKey` record in `StrictProcessor`... Anyways, this looks buggy that a driver's main class can be compiled to be preview but jtreg is not running that driver with preview permissiveness. We should report to jtreg. ------------- PR Comment: https://git.openjdk.org/valhalla/pull/2302#issuecomment-4203347804 PR Comment: https://git.openjdk.org/valhalla/pull/2302#issuecomment-4203351745
