<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3821115221571460038.post9038156402701573604..comments</id><updated>2011-12-30T20:27:32.127-08:00</updated><category term='AppEngine'/><category term='OO Design'/><category term='JMockit'/><category term='Lab49'/><category term='Java'/><category term='Maven'/><category term='Bad Code Practice'/><title type='text'>Comments on Shanks' Tech Musings: JMockit &amp; JavaAgent - Enterprise integration woes</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.vshank77.com/feeds/9038156402701573604/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3821115221571460038/9038156402701573604/comments/default'/><link rel='alternate' type='text/html' href='http://www.vshank77.com/2010/02/jmockit-javaagent-enterprise.html'/><author><name>Shankar Vasudevan</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-_7KGeYn3p_M/AAAAAAAAAAI/AAAAAAAAAAA/HDmbwV-k2AI/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3821115221571460038.post-5599691412493260502</id><published>2010-02-01T18:00:47.451-08:00</published><updated>2010-02-01T18:00:47.451-08:00</updated><title type='text'>Note that the &amp;quot;discoverPathToJarFile&amp;quot; me...</title><content type='html'>Note that the &amp;quot;discoverPathToJarFile&amp;quot; method has a fallback mechanism which takes the path to the jmockit jar file from the classpath.&lt;br /&gt;So, my first attempt to avoid the exception &amp;quot;IllegalArgumentException: URI has an authority component&amp;quot; would be changing &amp;quot;String jarFilePath = discoverPathToJarFile();&amp;quot; to &amp;quot;String jarFilePath = findPathToJarFileFromClasspath();&amp;quot;. This should work even with a remote file (it works in a regular environment).&lt;br /&gt;&lt;br /&gt;If you can test this in your CI environment and confirm it does work, I could remove the problematic &amp;quot;new File(jarFileURI)&amp;quot; code from the next version of JMockit.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3821115221571460038/9038156402701573604/comments/default/5599691412493260502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3821115221571460038/9038156402701573604/comments/default/5599691412493260502'/><link rel='alternate' type='text/html' href='http://www.vshank77.com/2010/02/jmockit-javaagent-enterprise.html?showComment=1265076047451#c5599691412493260502' title=''/><author><name>Rogerio</name><uri>http://www.blogger.com/profile/17185104709482425736</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.vshank77.com/2010/02/jmockit-javaagent-enterprise.html' ref='tag:blogger.com,1999:blog-3821115221571460038.post-9038156402701573604' source='http://www.blogger.com/feeds/3821115221571460038/posts/default/9038156402701573604' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-744629723'/></entry></feed>
