You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Gregory Shimansky (JIRA)" <ji...@apache.org> on 2007/06/22 14:58:27 UTC
[jira] Closed: (HARMONY-2018) [DRLVM] Fix support of SOE and other
runtime exceptions in VM native code
[ https://issues.apache.org/jira/browse/HARMONY-2018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Shimansky closed HARMONY-2018.
--------------------------------------
VERIFIED
> [DRLVM] Fix support of SOE and other runtime exceptions in VM native code
> -------------------------------------------------------------------------
>
> Key: HARMONY-2018
> URL: https://issues.apache.org/jira/browse/HARMONY-2018
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Reporter: Pavel Afremov
> Assignee: Gregory Shimansky
> Attachments: Fix-support-of-SOE-and-other-runtime-exceptions-in-VM-native-code.txt, Fix-support-of-SOE-and-other-runtime-exceptions-in-VM-native-code.txt, Fix-support-of-SOE-and-other-runtime-exceptions-in-VM-native-code.txt, Fix-support-of-SOE-and-other-runtime-exceptions-in-VM-native-code.txt
>
>
> The following test shows that runtime exceptions in VM native code aren't processed correctly.
> package exception;
> class FinalizeStackTest {
> private static final int MAX_DEPTH = 1000000;
> FinalizeStackTest(int c) {
> if (c > 0) {
> new FinalizeStackTest(c - 1);
> } else {
> System.out.println("PASS");
> }
> }
> protected void finalize() {
> / empty
> }
> public static void main(String[] args) {
> try {
> new FinalizeStackTest(MAX_DEPTH);
> System.out.println("FAIL");
> } catch (StackOverflowError soe) {
> System.out.println("PASS : " + soe);
> } catch (Throwable th) {
> System.out.println("FAIL");
> }
> }
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.