On Thu, Jan 15, 2009 at 12:01 PM, Scott Blum <[email protected]> wrote: > Casts and instanceof checks are accomplished by adding a flag > to JCastOperation and JInstanceOf to allow a non-null, non-Java-derived > (i.e.o.typeMarker$ != nullMethod) object to pass the type checks. Additional > methods are added to the Cast utility class and CastNormalizerupdated." I > believe based on reading this, but wanted to verify, that the 'flag' exists > only in the compiler (not the compiled code) and different exact variants of > dynamicCast/instanceOf are called at runtime.
@Lex, thanks for the review, I'll add the changes to the branch, probably on Monday or thereabouts. @Scott, Yes, the flag is compiler-only, it's an indicator to CastNormalizer as to which Cast method invocation the JCastOperation should be replaced with. -- Bob Vawter Google Web Toolkit Team --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
