Tuesday, March 6, 2012

Re: Adding new emulated methods/classes

Hello again,
I was trying to make this work but my understanding of the GWT compiler is really limited. The patch in the issue you suggested really does something else than just modify the emulation for Class (I just overlooked it in the patch file since there are so many changes in the comments), but the way getName worked was overhauled in r5479 (so even changes made in r5226, and reverted in r5229, won't help me a lot) since code that implemented getName was removed from GenerateJavaAST (and I couldn't find the way it was replaced in r5479)  GenerateJavaAST.java was later removed in r10490. So back to my question above, how are the emulation classes implemented? Or is there some guidelines for modifying/adding emulation classes?

Thanks

Honza

Dne středa, 22. února 2012 17:05:19 UTC+1 Honza Rames napsal(a):
Oops, I was to fast to post the question before I saw there are no
real changes in GenerateJavaAST.java. So my previous question doesn't
make much sense...

On 22 ún, 17:02, Honza Rames <rame...@gmail.com> wrote:
> Thanks I'll look into it. Just curious, what are the files in /user/
> super/com/google/gwt/emul/java/lang/ used for, it seems that emulation
> can be done by modifying some of them but Class looks like to be an
> exception?
>
> On 21 ún, 15:29, Thomas Broyer <t.bro...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Seehttp://code.google.com/p/google-web-toolkit/issues/detail?id=3404

Dne středa, 22. února 2012 17:05:19 UTC+1 Honza Rames napsal(a):
Oops, I was to fast to post the question before I saw there are no
real changes in GenerateJavaAST.java. So my previous question doesn't
make much sense...

On 22 ún, 17:02, Honza Rames <rame...@gmail.com> wrote:
> Thanks I'll look into it. Just curious, what are the files in /user/
> super/com/google/gwt/emul/java/lang/ used for, it seems that emulation
> can be done by modifying some of them but Class looks like to be an
> exception?
>
> On 21 ún, 15:29, Thomas Broyer <t.bro...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Seehttp://code.google.com/p/google-web-toolkit/issues/detail?id=3404

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/tbH9SXCUwFcJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment