Better HN
topnewbestaskshowjobs
Log inSign up

cocoapocoa

2 karma · joined May 9, 2017 (9y ago) · 2 submissions

Submissions

comment 9y ago · link · parent

What you've described is just one way a classloader can work, however, they can be implemented or hacked upon in a variety of ways.

Sure - maven does the work of resolving/flattening the dependency graph and downloading the libs - but it simply isn't a classloader.

That said, it might be possible to write a custom classloader which uses some bits of maven internally (provided there is a package to GAV index somewhere).

comment 9y ago · link · parent

No... maven has little to do with classloaders which are primarily a runtime concern.