commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [VOTE] [math] top-level package name
Date Wed, 20 May 2009 15:48:29 GMT
On 20/05/2009, Cyril Briquet <cyril.briquet@canopeer.org> wrote:
> >
>  > >> [math] from org.apache.commons.math to org.apache.commons.math2.
>  > >>
>  > >> [] +1 change the top level package name
>  > >> []  0 I don't care
>  > >> [] -1 keep the old name
>  > >>
>  > >> Vote open for 72 hours (up to Friday May 19th 20h00 UTC)
>  > >>
>  > >
>  > > Suggestion:
>  > > * keep as many package names as possible (i.e. org.apache.commons.math.*)
>  > > * deprecate as few packages (classes) as possible
>  > > * introduce new packages as org.apache.commons.mathx.*
>  > >  (notice x instead of 2, and only for new, incompatible stuff)
>  > >
>  > > Yes, this would increase the codebase to maintain,
>  > > but isn't there more than one way to compute things?
>  > >
>  > > I have no clue whether it'd be tractable, that's just my 2 cents
>  > > (java.awt / javax.swing made think of that).
>  > >
>  > >
>  > > Anyway, I completely agree to prevent any jar hell issue, so
>  > > +0 (non-binding) for package renaming to org.apache.commons.math2.*
>  > >
>  >
>  > If you don't change the package name, you risk a name collision if two
>  > different versions of the library are on the classpath (allowable
>  > since we're changing the maven artifact id).
>  >
>
>
>
> What about keeping as many package names as possible,
>  and only move to math2 as few packages as possible?
>

That still won't work; if there are two copies of a jar with the same
class names in the same classloader there will be trouble.

I think we need a "jar hell FAQ" - perhaps this could be done as a Wiki page?

>  --
>
> Cyril Briquet
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message