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

2022-05-31 Thread Mandy Chung
On Wed, 1 Jun 2022 00:59:33 GMT, Tim Prinzing  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:
> 
>   Moved the tests test/jdk/jni/nullCaller.  Added to the jdk_other group
>   which runs as part of tier2.  Made the other requested changes such as
>   not using the bugid as the function name for the test and using the
>   name of the main method being tested instead.

jdk_other is for other modules.  jdk_lang may be an option  since this is to 
test when attached with JNI thread.

-

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


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

2022-05-31 Thread Tim Prinzing
> 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:

  Moved the tests test/jdk/jni/nullCaller.  Added to the jdk_other group
  which runs as part of tier2.  Made the other requested changes such as
  not using the bugid as the function name for the test and using the
  name of the main method being tested instead.

-

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8934/files
  - new: https://git.openjdk.java.net/jdk/pull/8934/files/f1406a45..7eb5dbcb

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk=8934=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk=8934=02-03

  Stats: 13 lines in 10 files changed: 1 ins; 0 del; 12 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8934.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8934/head:pull/8934

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