Few days ago I tested our OpenTool with new JBuilder 2006. This OpenTool
depends on software which invokes "System.exit()" sometimes. At this
time these calls cannot be replaced, unfortunately.
With JBuilder software < 2006 there was no problem as long as
"System.exit()" with JBuilders' SecurityManager wasn't allowed. But in
2006 this is allowed. It's even more strange situation - when I check
whether SecurityManager is installed (with System.getSecurityManager())
result is "null".
Ok, maybe there is no SecurityManager at all in 2006? But when i run
"verbose" JBuilder i can see in logs, that there is one initiated (like
in older versions).
So, whats happened with SecurityManager in 2006?
--
Greetings
Krystian
public static void initOpenTool(byte major, byte minor) {
System.setSecurityManager(new JBuilderNullSecurityManager());
}
"Krystian Lewandowski" <ci...@gazeta.pl> wrote in message
news:43a3...@newsgroups.borland.com...