harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Loenko" <mloe...@gmail.com>
Subject Re: Have not implemented the method of com.sun.tools.javac.Main.compile([Ljava.lang.String;, java.io.PrintWriter)
Date Thu, 05 Apr 2007 03:45:54 GMT
2007/4/4, Sean Qiu <sean.xx.qiu@gmail.com>:
> 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
>

Mime
View raw message