Hi again,

Can you point out any of places where you saw this assumption?  The
last time I was mucking around with binary type names I was told not
to assume that $ could not appear in source names, so it might be
unintentional.

-Eric.

On Wed, May 25, 2011 at 5:51 PM, Grzegorz Kossakowski
<[email protected]> wrote:
> Hi,
>
> Poking around a bit more I found that gwtc seems to assume internally
> that whenever type name contains '$' it's in "binary form" and if it
> doesn't contain dollar sign then it can be considered to be in "source
> form". It's worth noting (and it's admitted in gwtc's internals) that
> this condition doesn't split of all type names into disjoint union of
> two respective sets.
>
> Anyway, my question is: how much of gwt internals rely on this
> distinction? I noticed that gwtc is doing handful number of
> conversions between those two forms. This is particularly problematic
> for my work because jribble can have dollar sign in it's type name and
> this would be extremely hard to change.
>
> Also, it looks like Java allows type names containing dollar sign:
>
> mac-grek:javajunk grek$ echo 'class A$B {}' > A\$B.java
> mac-grek:javajunk grek$ javac 'A$B.java'
> mac-grek:javajunk grek$ javap 'A$B'
> Compiled from "A$B.java"
> class A$B extends java.lang.Object{
>    A$B();
> }
>
> Is gwtc handling those cases in pure java environment properly?
>
> --
> Grzegorz Kossakowski
>
> --
> http://groups.google.com/group/Google-Web-Toolkit-Contributors
>



-- 
Eric Z. Ayers
Google Web Toolkit, Atlanta, GA USA

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to