There's a related issue for ClassObjectTest.  It is sensitive to
whether or not the compiler is in -XdisableClassMetadata mode.

I've wanted to add some kind of build information to the
GeneratorContext that would allow Generators to get the command-line
flags so generators can be sensitive to pretty vs obfuscated mode.
When you have tests that are sensitive to flags, you could use a class
similar in spirit to LocaleInfo.  Even if all you could get is a
string containing the compiler's command-line, that should be
sufficient.

-- 
Bob Vawter
Google Web Toolkit Team

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

Reply via email to