[lworld] Integrated: 8334678: [lworld] some javac tests are failing intermittently due to a VM warning

Vicente Romero vromero at openjdk.org
Thu Jun 20 21:26:41 UTC 2024


Several tests using library class JavacTestingAbstractProcessor are failing intermittently as JavacTestingAbstractProcessor uses Optional. Optional has two versions: one is a value class and the other one is not. The VM issues a warning if the loaded class is not the value version. The tests failing have a golden file and the presence or not of the warning can make them fail. The proposed fix, temporary, is to remove the dependency on Optional.

-------------

Commit messages:
 - 8334678: [lworld] some javac tests are failing intermittently due to a VM warning

Changes: https://git.openjdk.org/valhalla/pull/1142/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=1142&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8334678
  Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/valhalla/pull/1142.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/1142/head:pull/1142

PR: https://git.openjdk.org/valhalla/pull/1142


More information about the valhalla-dev mailing list