Hi everyone, while reading through the code for the ConcurrentHashMap support I ran into a lot of code that seems to be straight copy-pastes of Java code that was converted to ASM using the Eclipse plugin. For instance, look at JavaUtilConcurrentHashMapAdapter and for instance the method createWrapperMethod(). This is an instrumentation that is using to create a wrapper method around existing methods, yet it uses line numbers. This means that the same line numbers are present in the byte code at different locations and for different method names. Almost all the other generated methods in this class to the same thing.
I think it's a good practice to remove the line numbers of generated byte code since I think that this could result into maybe unwanted behavior with debuggers / profilers / etc. What do you think? Should I removed the line numbers that are in those classes now? Geert -- Geert Bevin Terracotta - http://www.terracotta.org Uwyn "Use what you need" - http://uwyn.com RIFE Java application framework - http://rifers.org Music and words - http://gbevin.com _______________________________________________ tc-dev mailing list [email protected] http://lists.terracotta.org/mailman/listinfo/tc-dev
