You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. If we don't give a parent to the URLClassLoader constructor, it will use
the system ClassLoader by default, which includes the jars in the JVM classpath.
2. `getResourceAsStream` will first look for the resource in a parent
ClassLoader.
3. The reference compiler is in the JVM classpath.
So if the reference compiler is Dotty-compiled, we might pick up .tasty
files from it instead of the current compiler. Using `null` as the
parent ClassLoader avoids this problem.
0 commit comments