[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/29959] -Djava.security.manager doesn't work at all
From: |
jeroen at frijters dot net |
Subject: |
[Bug classpath/29959] -Djava.security.manager doesn't work at all |
Date: |
25 Nov 2006 15:37:12 -0000 |
------- Comment #6 from jeroen at frijters dot net 2006-11-25 15:37 -------
Casey is correct that the default Policy loaded is useless, but the
-Djava.security.manager option works fine.
Try this:
public class TestProps
{
public static void main(String[] args)
{
System.out.println(System.getSecurityManager());
System.err.println(System.getProperty("java.home"));
}
}
You'll see that the first line does print out a SecurityManager instance when
you specify -Djava.security.manager.
So, please close this bug and open a bug on the incorrect policy.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29959
- [Bug classpath/29959] New: -Djava.security.manager doesn't work at all, roman at kennke dot org, 2006/11/24
- [Bug classpath/29959] -Djava.security.manager doesn't work at all, roman at kennke dot org, 2006/11/24
- [Bug classpath/29959] -Djava.security.manager doesn't work at all, jeroen at frijters dot net, 2006/11/24
- [Bug classpath/29959] -Djava.security.manager doesn't work at all, csm at gnu dot org, 2006/11/24
- [Bug classpath/29959] -Djava.security.manager doesn't work at all, roman at kennke dot org, 2006/11/24
- [Bug classpath/29959] -Djava.security.manager doesn't work at all, csm at gnu dot org, 2006/11/25
- [Bug classpath/29959] -Djava.security.manager doesn't work at all,
jeroen at frijters dot net <=