Re:Jigsaw Finally Arrives in JDK 9
by aardvark179 on Saturday March 12, 2016 @10:57AM
(#11273270)
I'm torn on this. On one hand the sort of multiple version support offered by OSGi can be very useful, but equally debugging and coverage tools can quickly become confused because they may not cope well with multiple classes with identical names, and that ignores the fun of conflicting native libraries.
So for the first version I'd be happy to see this left to frameworks sitting above the module system, but I can appreciate other view points.
Gradle's dependency tools help, but the best it can do is either flag an error or automatically de-conflict modules by always picking the newest version. If the version isn't fully backwards compatible, you can get deadlocked.