[jcifs] URLStreamHandler [was jcifs bug]
Allen, Michael B (RSCH)
Michael_B_Allen at ml.com
Thu Mar 28 12:55:31 EST 2002
> -----Original Message-----
> From: Bernie Wieser [SMTP:bernie.wieser at calgary.qcdata.com]
> Sent: Wednesday, March 27, 2002 8:31 PM
> To: Allen, Michael B (RSCH)
> Subject: RE: [jcifs] URLStreamHandler [was jcifs bug]
>
> Consarnit you are right. What happened to sun putting "as of" version
> comments in the code?
>
> As for the other issue;
> On March 21 at 21:00 version .62 was posted.
> On March 21 at 16:00 I downloaded version .61.
>
I don't know. I suppose it's possible I did a re-release of 0.6.2. I seem to
remember doing something like that.
> Thanks for your patience;
> B.
>
>
> -----Original Message-----
> From: Allen, Michael B (RSCH) [mailto:Michael_B_Allen at ml.com]
> Sent: Wednesday, March 27, 2002 6:22 PM
> To: 'Bernie Wieser'; 'jcifs at samba.org'
> Subject: RE: [jcifs] URLStreamHandler [was jcifs bug]
>
>
> Well getDeafultPort is a 1.3 feature but that's not a big deal and I cannot
> argue your conclusions about the parsing contract. If the 1.1 parser handles
> auth info in the server then that would be
> great. I can't help but think I tried and failed to do that long ago but I
> don't remember. Definately worth a try.
>
> Thanks,
> Mike
>
> --8<--
>
> I know the authority stuff is only 1.3; the point is the Url is not
> properly constructed until setURL is called, that it wont be if there is an
> exception. We turn
> around and stuff the url.toString into a database, we cannot
> stuff (null)! So - you are right - using the URL will fail
> because it is not initialized when openCon is called - but people may
> want to use the URL as an object [data]. Can't change parse's contract.
> "Parses the string representation of a URL into a URL object."
>
> Anyway, if you don't override parseURL, it should work from 1.1+
>
> B.
>
> > -----Original Message-----
> > From: Bernie Wieser [SMTP:bernie.wieser at calgary.qcdata.com]
> > Sent: Wednesday, March 27, 2002 8:07 PM
> > To: Allen, Michael B (RSCH)
> > Subject: RE: [jcifs] URLStreamHandler [was jcifs bug]
> >
> > Oh, the only thing you should override is
> >
> > int getDefaultPort()
> >
> > the domain should be interpretted as part of the hostname for previous
> > incarnations.
> >
> > Cheers,
> > B.
> >
>
>
More information about the jcifs
mailing list