No. It's not emulated, and for good reason. If it were allowed, there would be no way for the java to javascript compiler to know which classes might be used in the client.
http://code.google.com/webtoolkit/doc/1.6/RefJreEmulation.html#Package_java_lang bnawalage wrote: > Can we use Class.forName("com.test.TestClass") inside onModuleLoad()? > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
