1 Reply Latest reply on Jun 12, 2012 5:59 AM by Edwin Guenthner

    Javassist, PowerMock and Java 7 ... bad combination

    Edwin Guenthner Newbie

      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

       

      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,