6855551: java -Xrunhprof crashes when running with classes compiled with targed=7

Reviewed-by: tbell, dcubed
This commit is contained in:
Kelly O'Hair 2009-07-08 09:12:17 -07:00
parent 529e9065c2
commit 64697c3e7a
3 changed files with 5 additions and 5 deletions

View File

@ -263,8 +263,8 @@ assert_error(CrwClassImage *ci, const char *condition,
(void)sprintf(buf,
"CRW ASSERTION FAILURE: %s (%s:%s:%d)",
condition,
ci->name==0?"?":ci->name,
mi->name==0?"?":mi->name,
ci->name==NULL?"?":ci->name,
(mi==NULL||mi->name==NULL)?"?":mi->name,
byte_code_offset);
fatal_error(ci, buf, file, line);
}

View File

@ -24,7 +24,7 @@
/* HelloWorld:
*
* Sample target appluication for HPROF tests
* Sample target application for HPROF tests
*
*/

View File

@ -23,11 +23,11 @@
/* @test
* @bug 6266289 6299047
* @bug 6266289 6299047 6855180 6855551
* @summary Test jvmti hprof and java_crw_demo with StackMapTable attributes
*
* @compile ../DemoRun.java
* @compile -source 1.6 -g:lines HelloWorld.java
* @compile -source 7 -g:lines HelloWorld.java
* @build StackMapTableTest
* @run main StackMapTableTest HelloWorld
*/