RFR: 8287171: Refactor null caller tests to a single directory [v3]
Alan Bateman
alanb at openjdk.java.net
Mon May 30 05:40:40 UTC 2022
On Mon, 30 May 2022 00:10:50 GMT, Tim Prinzing <duke at openjdk.java.net> wrote:
>> Created a test at test/jdk/jdk/nullCaller called NullCallerTest that creates a test module with some resources in it for the actual tests that occur at the native level. The native part was switched to c++ instead of c to make it easier to create helper objects that reduce the redundant code performing error checking. The two helper classes InstanceCall and StaticCall were placed in an include file called CallHelper.hpp. The main part of the tests are in exeNullCallerTest.cpp, and there is a separate function for each of the bug reports.
>
> Tim Prinzing has updated the pull request incrementally with one additional commit since the last revision:
>
> problem with iostream on Windows, use printf
I don't think jdk/nullCaller is right location for this. Maybe jni/nullCaller could work. You'll probably need to add the location to an appropriate group/tier in test/jdk/TEST.groups, otherwise it won't be run.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8934
More information about the build-dev
mailing list