Re: Class Server requests
Dan Creswell <[email protected]>
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
Calum Shaw-Mackay wrote: >> Yup, and jini should do the same, it's no burden. If it really wants >> to be >> that persnickety, it should throw an >> URISyntaxException or similar exception if it finds an unruly codebase >> specification. > > May I make a small interjection here.....this is not a Jini issue, > it's actually a URLClassLoader Issue (i.e J2SE) and there are a couple > of good reasons for it.... > Well, indeed - the URLClassLoader defines a set of behaviours as you describe below which makes the slash relevant. But that doesn't mean we can't look at appending the slash ourselves, so long as we can figure out a way to determine it's an appropriate action and can apply it consistently. First thing to do is go look at all the code paths - I'm suspecting we could do this consistently for services configured/started via com.sun.jini.start but I'm not sure about clients and cases where -Djava.rmi.server.codebase is used. Dan. -------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to [email protected]