Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JBuilder 2006 - SecurityManager?

1 view
Skip to first unread message

Krystian Lewandowski

unread,
Dec 16, 2005, 3:05:25 PM12/16/05
to
Hi there!

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

Bill Joy

unread,
Dec 16, 2005, 8:35:01 PM12/16/05
to
Looks like someone has disabled the code which initializes the security
manager in JBuilder 2006. You can probably re-enable it by adding your own
OpenTool which does the following (from the OpenTools-PreUI category):

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

0 new messages