Use a custom classloader at compile time

前端 未结 6 1763
星月不相逢
星月不相逢 2021-01-14 04:16

Is it possible to specify a custom classloader for javac (or some alternative java compiler)?

I\'d love such a feat because it would allow me to compile classes that

6条回答
  •  甜味超标
    2021-01-14 04:41

    It may be possible to initialize a custom classloader and then use it while calling the new Java 6 Compiler API in javax.tools.

提交回复
热议问题