8144053: [TESTBUG] CompilerToVM::getStackTraceElementTest : unexpected line number for abstract or native method (assert failed: 0 < -1)
authortpivovarova
Wed, 25 Nov 2015 20:30:28 +0300
changeset 34224 76bceaa014bd
parent 34223 d12ad6a3a9d7
child 34225 773eded97d0d
8144053: [TESTBUG] CompilerToVM::getStackTraceElementTest : unexpected line number for abstract or native method (assert failed: 0 < -1) Reviewed-by: iignatyev, twisti
hotspot/test/compiler/jvmci/compilerToVM/GetStackTraceElementTest.java
--- a/hotspot/test/compiler/jvmci/compilerToVM/GetStackTraceElementTest.java	Wed Nov 25 21:31:33 2015 +0300
+++ b/hotspot/test/compiler/jvmci/compilerToVM/GetStackTraceElementTest.java	Wed Nov 25 20:30:28 2015 +0300
@@ -87,7 +87,7 @@
                         + " : unexpected line number");
             } else {
                 // native and abstract function
-                Asserts.assertLT(0, ste.getLineNumber(),
+                Asserts.assertGT(0, ste.getLineNumber(),
                         aMethod + " : unexpected line number for abstract "
                                 + "or native method");
             }