When a added lib transiently requires a newer lib than what is on the classpath it should throw or refuse and advise a JVM restart. Otherwise you might run into weird errors.
Often, you (smart human) may know better whether this is definitely ok, maybe ok, or not ok than add-lib can know. Having lived with it for a while, it's usually fine. As the docstring says, this is a "best effort" operation designed to work at the repl. "best effort" is meant to convey - "may not always work".
6
u/lgstein Apr 14 '23
When a added lib transiently requires a newer lib than what is on the classpath it should throw or refuse and advise a JVM restart. Otherwise you might run into weird errors.