summaryrefslogtreecommitdiff
path: root/test/files/run/t6240b/StepTwo.scala
blob: 88e46492e3ec6457ee9ab2fdb60de49fcbb0e7bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import java.io.File
import java.net.URLClassLoader

object StepTwo extends App {
  val classes = new File(System.getProperty("launch.step.three"))
  val cl = new URLClassLoader(Array(classes.toURI.toURL), getClass.getClassLoader)
  val stepThree = cl.loadClass("StepThree")
  val main = stepThree.getDeclaredMethod("main", classOf[Array[String]])
  main.invoke(null, Array[String]())
}