Re: RFR: 8303582: Reduce duplication in test code (mainline)

2023-03-03 Thread Jorn Vernee
On Fri, 3 Mar 2023 15:08:01 GMT, Jorn Vernee wrote: > Port of: https://github.com/openjdk/panama-foreign/pull/804 which reduces > duplication in the test code by switching test value generation over to a > common method in `NativeTestHelper`. src/java.base/share/classes/jdk/internal/foreign/Ut

RFR: 8303582: Reduce duplication in test code (mainline)

2023-03-03 Thread Jorn Vernee
Port of: https://github.com/openjdk/panama-foreign/pull/804 which reduces duplication in the test code by switching test value generation over to a common method in `NativeTestHelper`. - Commit messages: - remove byteWidthOfPrimitive for now - 8302990: Reduce duplication in test c