mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-14 12:25:21 +00:00
6855551: java -Xrunhprof crashes when running with classes compiled with targed=7
Reviewed-by: tbell, dcubed
This commit is contained in:
parent
529e9065c2
commit
64697c3e7a
@ -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);
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
|
||||
/* HelloWorld:
|
||||
*
|
||||
* Sample target appluication for HPROF tests
|
||||
* Sample target application for HPROF tests
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
@ -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
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user