We have two main JAR archives in our distribution - runner.jar and runtime.jar. Let's add an automated test that will reveal any class duplication that is not allowed. Classes from both these jars are loaded by different class loaders, so if there are any unnecessary duplications, we will end up with the same class loaded twice in the JVM's metaspace.
We can write this test in Enso (e.g., in Examples_Test). Revealing the location of these JARs can be done similarly to how we search for the enso binary in our Python example test
We have two main JAR archives in our distribution -
runner.jar
andruntime.jar
. Let's add an automated test that will reveal any class duplication that is not allowed. Classes from both these jars are loaded by different class loaders, so if there are any unnecessary duplications, we will end up with the same class loaded twice in the JVM's metaspace.We can write this test in Enso (e.g., in
Examples_Test
). Revealing the location of these JARs can be done similarly to how we search for theenso
binary in our Python example test