MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/1hrqspj/how_javas_executable_assembly_jars_work/m524rdz/
r/java • u/lihaoyi • Jan 02 '25
42 comments sorted by
View all comments
Show parent comment
3
So this avoids a resource call you say?
4 u/agentoutlier Jan 03 '25 It is more like it reuses a resource that was previously loaded and if there was another resource call it would in theory be a cheaper call.I'm fairly sure it will cache some of the meta data but I don't thin adhoc if you use the Package manifest call.See https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Package.htmlThe only way I guess is to test. I might ask chatty for fun to see what bull shit conjures up for me.
4
It is more like it reuses a resource that was previously loaded and if there was another resource call it would in theory be a cheaper call.
I'm fairly sure it will cache some of the meta data but I don't thin adhoc if you use the Package manifest call.
Package
See https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Package.html
The only way I guess is to test. I might ask chatty for fun to see what bull shit conjures up for me.
View all comments
Show parent comment
3
u/TheKingOfSentries Jan 02 '25
So this avoids a resource call you say?