mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-19 18:07:49 +00:00
8044762: com/sun/jdi/OptionTest.java test time out
Gdata could be NULL in debugInit_exit Reviewed-by: dcubed
This commit is contained in:
parent
b608314245
commit
97ce148fa7
@ -1287,22 +1287,26 @@ debugInit_exit(jvmtiError error, const char *msg)
|
||||
if ( error != JVMTI_ERROR_NONE ) {
|
||||
exit_code = 1;
|
||||
if ( docoredump ) {
|
||||
LOG_MISC(("Dumping core as requested by command line"));
|
||||
finish_logging(exit_code);
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
||||
if ( msg==NULL ) {
|
||||
msg = "";
|
||||
}
|
||||
|
||||
LOG_MISC(("Exiting with error %s(%d): %s", jvmtiErrorText(error), error, msg));
|
||||
|
||||
gdata->vmDead = JNI_TRUE;
|
||||
if (gdata != NULL) {
|
||||
gdata->vmDead = JNI_TRUE;
|
||||
|
||||
/* Let's try and cleanup the JVMTI, if we even have one */
|
||||
if ( gdata->jvmti != NULL ) {
|
||||
/* Dispose of jvmti (gdata->jvmti becomes NULL) */
|
||||
disposeEnvironment(gdata->jvmti);
|
||||
/* Let's try and cleanup the JVMTI, if we even have one */
|
||||
if ( gdata->jvmti != NULL ) {
|
||||
/* Dispose of jvmti (gdata->jvmti becomes NULL) */
|
||||
disposeEnvironment(gdata->jvmti);
|
||||
}
|
||||
}
|
||||
|
||||
/* Finish up logging. We reach here if JDWP is doing the exiting. */
|
||||
|
||||
@ -268,9 +268,6 @@ com/sun/jdi/RepStep.java generic-all
|
||||
# 8044419
|
||||
com/sun/jdi/JdbReadTwiceTest.sh generic-all
|
||||
|
||||
# 8046348
|
||||
com/sun/jdi/OptionTest.java generic-all
|
||||
|
||||
############################################################################
|
||||
|
||||
# jdk_util
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user