harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Markov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2370) [classlib][rmi] Method ActivationSystem.shutdown() should not throw any exceptions if it successfully stop the activation system
Date Thu, 30 Nov 2006 08:55:22 GMT
[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

        

Mime
View raw message