Use a custom classloader at compile time

前端 未结 6 1656
星月不相逢
星月不相逢 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:26

    If the classes all conform to the same Interface you could just provide that at compile time..

    If not then I don't see what you are gaining by not outputing .java files based on the DB and compiling that.

提交回复
热议问题