[jboss-user] [Javassist] - Javassist, PowerMock and Java 7 ... bad combination

Edwin Guenthner do-not-reply at jboss.com
Fri Jun 8 10:40:13 EDT 2012


Edwin Guenthner [https://community.jboss.org/people/karma] created the discussion

"Javassist, PowerMock and Java 7 ... bad combination"

To view the discussion, visit: https://community.jboss.org/message/740728#740728

--------------------------------------------------------------
Hello,

( sorry for the "repost"; created an article before; hopefully that one was successfully deleted ... so here comes the "discussion" version )

we are using JUnit & powermock (and easymock) to test our code base. Not in the perfect sense that our whole backend build would fail if our few testcases fail ...
more in the sense of some developpers use it within Eclipse.

Anyway - recently the whole production environment changed to JDK 1.7.
And now we are flat broken; like these folks here:

 http://groups.google.com/group/powermock/browse_thread/thread/be782594bc21bfbd/935321aa666a4ea9%3Fq%3D%2522Graham%2BPolley%2522%23935321aa666a4ea9&ei=iGwTS6eaOpW8Qpmqic0O&sa=t&ct=res&cd=3&source=groups&usg=AFQjCNGSvQupEOmL2gpQs38kfMmMLy6blw?pli=1 http://groups.google.com/group/powermock/browse_thread/thread/be782594bc21bfbd/935321aa666a4ea9%3Fq%3D%2522Graham%2BPolley%2522%23935321aa666a4ea9&ei=iGwTS6eaOpW8Qpmqic0O&sa=t&ct=res&cd=3&source=groups&usg=AFQjCNGSvQupEOmL2gpQs38kfMmMLy6blw?pli=1

I found some bugs related to JDK 1.7 in the bugs database; but no mentioning of PowerMock ... so:
a) is that really something ... nobody is working? Or is it a problem how PowerMock uses JavaAssist?
b) did I just look in the wrong spot?

regards,
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/740728#740728]

Start a new discussion in Javassist at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2062]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120608/84aaf812/attachment.html 


More information about the jboss-user mailing list