Commit Graph

21 Commits

Author SHA1 Message Date
Kim Barrett
998d0baab0 8324799: Use correct extension for C++ test headers
Reviewed-by: jwaters, gli, coleenp, lmesnik
2024-02-29 06:24:42 +00:00
Coleen Phillimore
a6bdee48f3 8324681: Replace NULL with nullptr in HotSpot jtreg test native code files
Reviewed-by: kevinw, kbarrett, dholmes
2024-01-29 17:07:32 +00:00
Alex Menkov
6240431b38 8295697: Resolve conflicts between serviceability/jvmti and nsk/jvmti shared code
Reviewed-by: lmesnik, sspitsyn, cjplummer
2022-10-20 23:41:54 +00:00
Mikael Vidstedt
3318314c7c 8237589: Fix copyright header formatting
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -08:00
Jean Christophe Beyler
68ae1e7965 8223044: Add back exception checking in tests
Add exception checking to previously modified tests

Reviewed-by: sspitsyn, cjplummer
2019-05-07 07:43:41 -07:00
Jean Christophe Beyler
95b5fba3d7 8223146: [TESTBUG] new test vmTestbase/nsk/share/ExceptionCheckingJniEnv/exceptionjni001/ fails on Windows
Keep it simple and handle INT32_MIN separately

Reviewed-by: dholmes, sspitsyn
2019-04-30 20:26:16 -07:00
Jean Christophe Beyler
131bdfdff3 8222935: Fix ExceptionCheckingJniEnv system
Added missing tests and fixed the code

Reviewed-by: cjplummer, sspitsyn, amenkov
2019-04-24 19:51:38 -07:00
Jean Christophe Beyler
fd3378a73e 8213501: Deploy ExceptionJniWrapper for a few tests
Add more tests to be using the wrapper

Reviewed-by: phh, amenkov, sspitsyn, dholmes, cjplummer
2019-04-23 08:11:38 -07:00
Jean Christophe Beyler
d7d4bc9fdd 8213622: Windows VS2013 build failure - "'snprintf': identifier not found"
Replace snprintf with strlen and memcpy

Reviewed-by: dholmes, mvala, kbarrett
2018-11-14 12:25:15 -08:00
Jean Christophe Beyler
1d340e454c 8212939: Add space after if/while/for/switch and parenthesis
Add spaces where needed

Reviewed-by: cjplummer, sspitsyn
2018-11-12 13:13:00 -08:00
Jean Christophe Beyler
a623db2148 8212148: Remove remaining NSK_CPP_STUBs
Remove remaining macros

Reviewed-by: amenkov, phh, iignatyev
2018-10-22 12:43:15 -07:00
Jean Christophe Beyler
7afa70096a 8212083: Handle remaining gc/lock native code and fix two strings
Migrate code to using wrapping JNI for exceptions

Reviewed-by: phh, tschatzl
2018-10-15 14:55:17 -07:00
Jean Christophe Beyler
b68500521e 8211432: [REDO] Handle JNIGlobalRefLocker.cpp
Adding a JNI verification wrapper for tests

Reviewed-by: amenkov, sspitsyn, phh
2018-10-11 09:30:10 -07:00
Mikael Vidstedt
0746fffe5c 8211291: Backout JDK-8210842 Handle JNIGlobalRefLocker.cpp
Reviewed-by: kbarrett, iignatyev, jcbeyler
2018-09-28 14:53:41 -07:00
Jean Christophe Beyler
cc4436e2b9 8210842: Handle JNIGlobalRefLocker.cpp
Add checking for JNI calls via a new ExceptionCheckingJniEnv

Reviewed-by: sspitsyn, amenkov, dholmes, mikael
2018-09-28 13:01:28 -07:00
Jean Christophe Beyler
b20e2cd963 8211036: Remove the NSK_STUB macros from vmTestbase for non jvmti
Remove the NSK_STUB macros from code outside of the jvmti subfolder

Reviewed-by: iignatyev, amenkov, dholmes
2018-09-27 15:56:40 -07:00
Jean Christophe Beyler
510336c210 8210481: Remove #ifdef cplusplus from vmTestbase
Remove all cplusplus ifdefs from vmTestbase

Reviewed-by: dholmes, iignatyev, cjplummer, sspitsyn
2018-09-17 19:36:09 -07:00
Jean Christophe Beyler
d0560a2860 8210182: Remove macros for C compilation from vmTestBase but non jvmti
Remove the macros and update the code

Reviewed-by: sspitsyn, cjplummer, amenkov
2018-08-31 22:55:34 -07:00
Igor Ignatyev
8c47dc4a94 8209611: use C++ compiler for hotspot tests
Reviewed-by: vlivanov, ihse, erikj, jcbeyler
2018-08-28 14:37:34 -07:00
Igor Ignatyev
e48cfc709d 8199382: [TESTBUG] Open source VM testbase JDI tests
Reviewed-by: erikj, kvn, sspitsyn
2018-05-05 09:24:29 -07:00
Igor Ignatyev
08855df46a 8199643: [TESTBUG] Open source common VM testbase code
Reviewed-by: vlivanov, erikj, mseledtsov, gthornbr
2018-04-30 18:10:24 -07:00