rmi problem; does it work for anyone?

tlewis@mindspring.com tlewis@mindspring.com
Tue Aug 12 14:37:00 GMT 2003


On 2003年8月12日, Bryce McKinlay wrote:
> I took a quick look at java/rmi/Naming.java and saw an obvious problem.
> It is trying to parse the rmi: URI by sticking "http:" in front of it
> and parsing it as a url:
>> 	URL u = new URL("http:" + name);
>> So basically, this code doesn't work. The solution is to implement the
> new java.net.URI class (currently its just a stub), and use that to
> parse the rmi: address.

Yeah, changing it from "rmi://" to "//" removed that exception, but
my client still hangs. I have been told that the CVS version works
where 3.3 doesn't, and so I am switching my attentions to that version.
Thanks for the tip. Hopefully someone who can actually program java
can fix URI support.
--
Todd Lewis
tlewis@mindspring.com


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /