harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-2749) [drlvm][jvmti] PopFrame does not contain check of JVMTI_ERROR_NO_MORE_FRAMES (31)
Date Tue, 10 Apr 2007 18:29:32 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-2749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gregory Shimansky resolved HARMONY-2749.
----------------------------------------

    Resolution: Fixed

Patch applied at 527229, test at 527239. Please check that the patch is applied as expected.

> [drlvm][jvmti] PopFrame does not contain check of JVMTI_ERROR_NO_MORE_FRAMES (31)
> ---------------------------------------------------------------------------------
>
>                 Key: HARMONY-2749
>                 URL: https://issues.apache.org/jira/browse/HARMONY-2749
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Rebriy
>         Assigned To: Gregory Shimansky
>         Attachments: pop_frame_fix.patch, PopFrame.zip
>
>
> According Java Specification [1] PopFrame function returns JVMTI_ERROR_NO_MORE_FRAMES
[2] error if there are no more Java programming language frames on the call stack or, the
thread is the current thread.
> Here is the test case to reproduce this situation. To execute the test it could be integrated
to vm/tests/jvmti and run by:
> $ build.sh jvmti.test
> Or compiled and run manually:
> Linux:
> $ g++ -I PopFrame1/ -I <path_to_jvmti.h_include> -fpic -shared -o libPopFrame.so
PopFrame1/*.cpp
> $ javac -cp <path_to_junit.jar> -d . PopFrame1/PopFrame1.java 
> $ java -cp <path_to_junit.jar>:. -agentpath:./libPopFrame.so PopFrame1.PopFrame1
> Windows:
> $ cl /EHa /Zi /LDd /FePopFrame.dll -I < path_to_jvmti.h_include> -I PopFrame1/
PopFrame1/*.cpp
> $ javac -cp <path_to_junit.jar> -d . PopFrame1/PopFrame1.java 
> $ java -cp <path_to_junit.jar>:. -agentpath:PopFrame.dll PopFrame1.PopFrame1
> The test can be integrated to the Harmony JVMTI test suite.
> 	
> [1] http://java.sun.com/j2se/1.5.0/docs/guide/jvmti/jvmti.html#PopFrame
> [2] http://java.sun.com/j2se/1.5.0/docs/guide/jvmti/jvmti.html#JVMTI_ERROR_NO_MORE_FRAMES

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message