2 ms·
The JVM already does that - it only loads things it needs. So you can have a 2M dependency and only use one static function of a single class in there, and it w
by kimi 8y ago
The JVM already does that - it only loads things it needs. So you can have a 2M dependency and only use one static function of a single class in there, and it will only load that - but you have to distribute the whole JAR. With Jigsaw, things are split up, so you can have only the stuff you need.