harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepan Mishura (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3050) [IBM VME] Not possible to set custom security manager via system property
Date Wed, 24 Jan 2007 12:16:49 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12467019
] 

Stepan Mishura commented on HARMONY-3050:
-----------------------------------------

See patch with regression test for classlib in HARMONY-3049

> [IBM VME] Not possible to set custom security manager via system property
> -------------------------------------------------------------------------
>
>                 Key: HARMONY-3050
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3050
>             Project: Harmony
>          Issue Type: Bug
>          Components: VM
>            Reporter: Stepan Mishura
>            Priority: Minor
>
> The following test behaives on RI as expected but fails in IBM VME
> ------------------ MySecurityManager.java ----------------
> import java.security.Permission;
> public class MySecurityManager extends SecurityManager {
>     public void checkPermission(Permission perm) {
>     }
> }
> ------------------ test.java ----------------
> public class test {
>     public static void main(String[] av) throws Exception {
>         System.out.println(System.getSecurityManager().getClass().getName());
>     }
> }
> =============IBM VME output=========================
> $java -Djava.security.manager=MySecurityManager test
> Exception in thread "main" java/lang/InternalError: Could not create specified security
manager: MySecurityManager
>         at java/lang/System.installSecurityManager ( System.java:152)
>         at java/lang/System.completeInitialization (System.java:117)
>         at java/lang/Thread.<init> (Thread.java:129)
> JVMJ9VM015W Initialization error for library jclclear_23(14): JVMJ9VM009E J9VMDllMain
failed 
> HMYEXEL062E Internal VM error: Failed to create Java VM
> FAILED to invoke JVM.

-- 
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