SecuriyManager vs InetAddress

Josef Nordangård Josef.Nordangard at
Fri Dec 22 04:27:19 PST 2000


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?


More information about the kaffe mailing list