RFR: 8287171: Refactor null caller tests to a single directory [v5]

Tim Prinzing duke at openjdk.java.net
Wed Jun 1 02:51:32 UTC 2022


On Wed, 1 Jun 2022 02:45:24 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:
> 
>   improve comment

The tests are mostly java/lang, but also java/util so I was looking for something else.  The jdk_lang seems fairly reasonable and they run tier1 as the tests used to run before the move if I put them there.  I'll update TEST.groups.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8934


More information about the core-libs-dev mailing list