Commit f1ba03e
[Jtreg/FFI] Backport layout() for struct from JDK19 to JDK17
The change is to backport the test code of layout() from JDK19
to JDK17 to resolve the padding & alignment issue with struct
in tests given layout() in JDK19 proves to work for all downcall
&& upcall specific test suites on all supported platforms.
Fixes: eclipse-openj9/openj9#16408
Signed-off-by: ChengJin01 <[email protected]>1 parent 6759bf0 commit f1ba03e
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
148 | 149 | | |
149 | 150 | | |
150 | 151 | | |
| |||
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
| 160 | + | |
159 | 161 | | |
160 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
161 | 167 | | |
162 | 168 | | |
163 | 169 | | |
| |||
0 commit comments