harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Qiu" <sean.xx....@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 09:10:49 GMT
We will merge the classlib/trunk/modules/tools into
jdktools/trunk/modules/tools sooner  or later. There will be no former
module in the future. Am i right?

So i will implemented this method to jdktools rather than classlib tools.

2007/4/5, Ivan Popov <ivan.g.popov@gmail.com>:
> Please note that there are two copies of tools module (including javac
> sources). One in classlib and another in jdktools. It was decided to
> remove classlib's copy after tools sources were copied to jdktools
> [1], but nobody did that. Now sources in these copies are slightly
> different.
>
> It makes sense first to merge changes in both copies and get rid of
> classlib's one and then continue modification of javac sources in
> jdktools.
>
> Thanks.
> Ivan
>
> [1] http://thread.gmane.org/gmane.comp.java.harmony.devel/22502
>
> On 4/5/07, Sean Qiu <sean.xx.qiu@gmail.com> wrote:
> > 2007/4/5, Mikhail Loenko <mloenko@gmail.com>:
> > > 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)
> > >
> >
> > Sorry for being careless
> > Yes, you are right . Thanks  :)
> >
> > > 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?
> > >
> >
> > I will try.
> >
> > > 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
> > > >
> > >
> >
> >
> >
> > --
> > Sean Qiu
> >
>


-- 
Sean Qiu

Mime
View raw message