2007/4/4, Sean Qiu <[EMAIL PROTECTED]>:
When i run tests of openejb with our classlib, it will report
that it cannot find the method of com.sun.tools.javac.Main.compile([
Ljava.lang.String;, java.io.PrintWriter).
In our module of tools, it only implement the
com.sun.tools.javac.Main.compile([Ljava.lang.String;, java.io.PrintWriter)

you've probably meant
com.sun.tools.javac.Main.compile([Ljava.lang.String;)


method.

Shall we implement the method?

Yes


If does, where can we get these internel api
spec?

Is it possible to understand it from openejb tests?

Thanks,
Mikhail

P.S. why do we have com.sun.* in the tools rather than in the suncompat module?




>>>>>>. error message >>>>>>>>
Caused by: java.lang.NoSuchMethodException: com.sun.tools.javac.Main.compile
([Ljava.lang.String;, java.io.PrintWriter)
       at java.lang.Class.throwNoSuchMethodException(Class.java:278)
       at java.lang.Class.getMethod(Class.java:755)
       at org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess
(JavacCompiler.java:418)

--
Sean Qiu

Reply via email to