DNS JNDI provider
Nic Ferrier
nferrier@tapsellferrier.co.uk
Fri Feb 15 12:01:00 GMT 2002
Tom Tromey <tromey@redhat.com> writes:
> >>>>> "Nic" == Nic Ferrier <nferrier@tapsellferrier.co.uk> writes:
>
> Andrew> Perhaps all we should do is produce a special error message
> Andrew> from the compiler.
>
> Nic> Nah. We have the same problem with javamail.
>
> Nic> You just have to break compatability. If programmers are sensible
> Nic> they will always pick strings names for implementation classes from
> Nic> some property file.
>
> Another choice would be to find the code that loads the provider, and
> change it:
>
> if (provider.equals ("com.sun.whatever"))
> provider = "gnu.whatever";
>
> This could be more confusing than worthwhile though.
Yeah. Just move it to the gnu namespace.
Nic
More information about the Java
mailing list