8144053: [TESTBUG] CompilerToVM::getStackTraceElementTest : unexpected line number for abstract or native method (assert failed: 0 < -1)
Reviewed-by: iignatyev, twisti
--- 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");
}