On Thu, Nov 20, 2008 at 11:50 AM, Emily Crutcher <[EMAIL PROTECTED]> wrote:

>    shared - code that does not contain or reference any class that contains
>> JSNI,
>>                GWT.create, or reflection
>
>
> I think this should be "reachable code", in that code hiding behind a
> GWT.isClient() should be allowed.
>

No, because on some JVMs even the attempt to load a class that has native
methods but no matching shared library (ie, JSNI) will thow an exception.  I
think the only safe way to make that work is with super-source overlaying
the client-compatible version.

-- 
John A. Tamplin
Software Engineer (GWT), Google

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

Reply via email to