You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Mikhail Markov (JIRA)" <ji...@apache.org> on 2006/11/30 09:55:22 UTC

[jira] Created: (HARMONY-2370) [classlib][rmi] Method ActivationSystem.shutdown() should not throw any exceptions if it successfully stop the activation system

[classlib][rmi] Method ActivationSystem.shutdown() should not throw any exceptions if it successfully stop the activation system
--------------------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-2370
                 URL: http://issues.apache.org/jira/browse/HARMONY-2370
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
         Environment: WinXP, IA32
            Reporter: Mikhail Markov
            Priority: Minor


The following test throws java.rmi.UnmarshalException although it successfully destroys the activation system VM. To reproduce run rmid before running this code like this: "java org.apache.harmony.rmi.activation.Rmid".

------------------- Test.java -------------------
import java.rmi.activation.ActivationGroup;
import java.rmi.activation.ActivationSystem;

public class Test {
    public static void main(final String[] args) throws Exception {
        final ActivationSystem system = ActivationGroup.getSystem();
        system.shutdown();
        System.out.println("PASS");
    }
}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira