Skip to content

Commit e5f1019

Browse files
committed
reword reason why evictions are performed by build tools
1 parent 3cbd13d commit e5f1019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/tutorials/binary-compatibility-for-library-authors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ establish some key terminologies we will be using for the rest of the guide.
5353
When a class is needed during execution, the JVM classloader loads the first matching class file from the classpath (any other matching class files are ignored).
5454
Because of this, having multiple versions of the same library in the classpath is generally undesirable:
5555

56-
* Unnecessary application size increase
56+
* Need to fetch and bundle multiple library versions when only one is actually used
5757
* Unexpected runtime behavior if the order of class files changes
5858

5959
Therefore, when resolving JARs to use for compilation and packaging, most build tools will pick only one version of each library and **evict** the rest.

0 commit comments

Comments
 (0)