SecuriyManager vs InetAddress

Josef Nordangård kaffe@rufus.w3.org
Fri, 22 Dec 2000 13:27:19 +0100


Hi!

Since Kaffe 1.0.6 doesn't support Policy files I'm trying to write my
own SecurityManager to implement the security policy i need. My
checkConnect method calls the InetAddress.getLocalHost which causes
recursion (to the checkConnect method). This recursion is supposed to be
prevented using the boolean inCheck. 

It seems like InetAddress does not call the getInCheck (as it is
supposed to), resulting in stack overflow. Is there another way to solve
the problem?

/Josef