RFR: 8310863: Build failure after JDK- 8305341
Julian Waters
jwaters at openjdk.org
Mon Jun 26 04:41:02 UTC 2023
On Mon, 26 Jun 2023 04:26:47 GMT, David Holmes <dholmes at openjdk.org> wrote:
> > as is evident in the tests for this PR
>
> You mean the GHA builds? They don't seem to be building the failing `jdk.jdwp.agent-static-libs` target.
I can't recompile the JDK at the moment to compile ArrayReferenceImpl.c, but I can devise a simple test for this:
#include <stdio.h>
int main() {
_Alignas(8)
int i = 7;
printf("%i", i);
return 0;
}
`cl.exe -nologo -std:c11 -Fo:align.o align.c`
align.exe
7
The _Alignas specifier does the same thing as the __declspec(align()) one, so there's no difference in which is used (which also means that the other places where this is used being able to compile is proof of it working as well)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14645#issuecomment-1606579037
More information about the core-libs-dev
mailing list