3 ms·
Jigsaw would have provided (or will provide) a static compile time check of consistency. (And of course without jlink a start-up time check of consistency.) Th
by pas 10y ago
Jigsaw would have provided (or will provide) a static compile time check of consistency. (And of course without jlink a start-up time check of consistency.)
That is helpful, but requires everyone to migrate to modules. So it's a kind of yes, but do we really need this? After all, we can just keep debugging shit when someone accidentally loads the wrong JARs.
- EdSharkey 10y agoAll that automatic checking sounds really nice to me, but the devil is always in the details. It's a non-starter for me that Jigsaw was going to break so many existing programs. Would it be possible to leave Java standard libraries alone but make Jigsaw-style modules available for new programs? That wouldn't make Java startup times any faster, which was one of the motivations for Jigsaw, but at least new apps could be architected for safety and consistency.
- pas 10y agoJigsaw is opt-in. It does exactly that.