changeset 34224:76bceaa014bd

8144053: [TESTBUG] CompilerToVM::getStackTraceElementTest : unexpected line number for abstract or native method (assert failed: 0 < -1) Reviewed-by: iignatyev, twisti
author tpivovarova
date Wed, 25 Nov 2015 20:30:28 +0300
parents d12ad6a3a9d7
children 773eded97d0d
files hotspot/test/compiler/jvmci/compilerToVM/GetStackTraceElementTest.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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");
             }