JDK-8308761 : New test TestHFA needs adaptation for JDK-8308276
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang.foreign
  • Affected Version: 21
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2023-05-24
  • Updated: 2023-07-18
  • Resolved: 2023-05-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 21
21 b25Fixed
Related Reports
Relates :  
Relates :  
Description
JDK-8303040 has introduced the new TestHFA. It requires an adaptation for JDK-8308276.

We currently get:
TestHFA.java:53: error: cannot find symbol
    static final OfFloat FLOAT = JAVA_FLOAT.withBitAlignment(32);

Comments
The fix for this bug is integrated in jdk-21+24-2096.
24-05-2023

Tier1 build failure in a new test means this is a P2 and not a P4. Normally we don't change priorities after a fix has been integrated, but this is a special case since it broke Mach5 in Tier1.
24-05-2023

The fix for the following bug: JDK-8308276 Change layout API to work with bytes, not bits was integrated in jdk-21+24-2051 at 2023-05-22 14:57:00 +0000 The fix for the following bug: JDK-8303040 linux PPC64le: Implementation of Foreign Function & Memory API (Preview) was integrated in jdk-21+24-2090 at 2023-05-24 08:38:34 +0000. I'm guessing that the PR for JDK-8303040 was not re-based since 2023-05-22 14:57:00 +0000 and that GHA testing did not show all these Tier1 failures that we see with java/foreign/TestHFA.java.
24-05-2023

Changeset: 7764f46e Author: Martin Doerr <mdoerr@openjdk.org> Date: 2023-05-24 13:45:57 +0000 URL: https://git.openjdk.org/jdk/commit/7764f46e9e3a46e39419ce35aaca8efdb3669872
24-05-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/14116 Date: 2023-05-24 09:16:46 +0000
24-05-2023