tag:blogger.com,1999:blog-14113074.post2626612977459096438..comments2023-01-19T18:49:58.315+05:30Comments on My Encounters...: JavaAssist - Byte Code Enhancement simplifiedSenthil Balakrishnanhttp://www.blogger.com/profile/09415095998685429994noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-14113074.post-73314128754500417172011-01-13T20:50:44.456+05:302011-01-13T20:50:44.456+05:30Hi Senthil,
When you do Byte code instrumentation...Hi Senthil,<br /><br />When you do Byte code instrumentation doesn't it make Java Byte Code JVM incompatible , I think whole idea of having Byte Code was that any program will not have access to direct memory location which is illegal in Java.<br /><br />Thanks<br />Javin<br /><a href="http://javarevisited.blogspot.com/2010/10/why-string-is-immutable-in-java.html" rel="nofollow">Why String is immutable in Java </a>javin paulhttps://www.blogger.com/profile/15028902221295732276noreply@blogger.comtag:blogger.com,1999:blog-14113074.post-50545131036463820702010-07-18T05:20:24.330+05:302010-07-18T05:20:24.330+05:30Thanks for the comment. As the saying goes "A...Thanks for the comment. As the saying goes "Any software problem can be solved by adding another layer of indirection"<br /><br />You can't avoid newInstance, it's a indirection...Senthil Balakrishnanhttps://www.blogger.com/profile/09415095998685429994noreply@blogger.comtag:blogger.com,1999:blog-14113074.post-42949827855651219962010-07-18T00:03:54.502+05:302010-07-18T00:03:54.502+05:30Very nice.
However, What bothers me is that I had ...Very nice.<br />However, What bothers me is that I had to use "newInstance" and not simply new to create an object of the instrumented class.<br />Is there any way I can still use "new" instead?<br /><br />Thanks,<br />Yair ZYair Zhttps://www.blogger.com/profile/18099311439740639258noreply@blogger.com