How to provide an interface to JavaCompiler when compiling a source file dynamically?

后端 未结 3 1897
难免孤独
难免孤独 2020-12-15 11:51

I\'m trying to compile and load a class at runtime, without knowing the package of the class. I do know that the class should comply with an interface, and the location of t

3条回答
提交回复
热议问题