Merge pull request #7874 from xuwei-k/ClassLoaderWarmup-scala-2-universe

[2.x] update ClassLoaderWarmup.scala
This commit is contained in:
eugene yokota 2024-11-06 03:47:09 -05:00 committed by GitHub
commit 583939fc3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 6 deletions

View File

@ -28,12 +28,6 @@ private[internal] object ClassLoaderWarmup {
submit(IvyPlugin.projectSettings)
submit(JvmPlugin.projectSettings)
submit(() => {
try {
val clazz = Class.forName("scala.reflect.runtime.package$")
clazz.getMethod("universe").invoke(clazz.getField("MODULE$").get(null))
} catch {
case _: Exception =>
}
executorService.shutdown()
})
}