This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: java.net.InetAddress


On Thu, Nov 27, 2003 at 08:29:13AM -0600, Mohan Embar wrote:
> Hi Michael,
> 
> >To circumvent this timeout I rewrite lookup() to just return when it is asked 
> >for "0.0.0.0".
> 
> What do you think of the name "nativeLookup" instead of "lookup0"?

The "native" is really redundant. In the java file the "native" keyword
is used. This looks really weird to me:

	private native void nativeLoopup();

In the cc file its clear that its native because its in the cc file.

If you dont like the "0" can we aggree on "implLookup" or something like
that ?



Michael


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]