The split package problem

Remi Forax forax at univ-mlv.fr
Fri Nov 4 08:25:06 UTC 2016


There are two issues with split packages,
- if you have the same class in each part of the package, the behavior of your problem depend on the order in the classpath,
  i've experienced this kind of bugs with two different libraries requiring different version of ASM, at runtime, a class of the older version was calling a class of the newer version :(
- security, if you allow split packages, you allow anybody to insert any classes in any packages.

regards,
Rémi

----- Mail original -----
> De: "Jochen Theodorou" <blackdrag at gmx.org>
> À: jigsaw-dev at openjdk.java.net
> Envoyé: Vendredi 4 Novembre 2016 09:11:51
> Objet: The split package problem

> Hi all,
> 
> I do often read about this "split package problem", but I never did see
> a proper explanation about why it matters to jigsaw so much that we do
> not allow it. Can somebody enlighten me?
> 
> bye Jochen


More information about the jigsaw-dev mailing list