RFC: InetAddress.lookup() change (Win32 parts untested)

Gary Benson gbenson@redhat.com
Thu Sep 7 07:45:00 GMT 2006


Tom Tromey wrote:
> InetAddress is not merged with Classpath.  Could you take a look
> at merging it and removing our divergence?  Every divergence here
> is a maintenance burden and a place we can mess up when importing
> new versions of Classpath... we should only have them when they
> are really necessary, and I don't think InetAddress should fall
> into that category.

Yeah, this is today's job :)  I'm making thise changes so I can make
SocketPermission work, and SocketPermission comes from Classpath so
I can't do a thing without somehow getting my changes there.  And
merging seemed the best way.

> Unfortunately doing this change will make your Windows problem
> worse, not better :(.  So I guess we should hold off on the bigger
> change here until the 4.2 branch is made, and just go with your
> smaller change for now.

Unfortunately we will have no meaningful security checks in java.net
without it.  The Windows-specific code is there, and I'm happy to
rearrange it in whatever way I rearrange the Posix code, it just needs
someone to check it builds.  But I'll wait until I have some actual
code before I worry too much about it...

Cheers,
Gary





More information about the Java-patches mailing list