Is it safe to update jar that are used for dynamic layers?

Alex Orlov ooo_saturn7 at mail.ru
Fri May 6 11:26:28 UTC 2022


Hello.
 
Please, consider the following situation. We have /home/user/temp/foo.jar that is used in dynamically created jpms
layer bar.
 
Could anyone say if it is safe to do the following: destroy layer bar, update /home/user/temp/foo.jar (modify some code in this jar)and create a new jpms layer (bar_2) that will use /home/user/temp/foo.jar.
 
--
Best regards, Alex Orlov


More information about the jigsaw-dev mailing list