Skip to content

Commit

Permalink
8259799: vmTestbase/nsk/jvmti/Breakpoint/breakpoint001 is incorrect
Browse files Browse the repository at this point in the history
Reviewed-by: iignatyev, sspitsyn, cjplummer
  • Loading branch information
lmesnik committed Jan 15, 2021
1 parent fe84ecd commit d7d34dd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -170,8 +170,8 @@ Breakpoint(jvmtiEnv *jvmti_env, JNIEnv* jni_env, jthread thread,
}

for (i=0; i<METH_NUM; i++)
if (strcmp(methNam,METHODS[i][0]) &&
strcmp(methSig,METHODS[i][1])) {
if (strcmp(methNam, METHODS[i][0]) == 0 &&
strcmp(methSig, METHODS[i][1]) == 0) {
NSK_DISPLAY2("CHECK PASSED: method name: \"%s\"\tsignature: \"%s\"\n",
methNam, methSig);
if (checkStatus == PASSED)
Expand Down

1 comment on commit d7d34dd

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.