Open GoogleCodeExporter opened 9 years ago
also found a url about a similar issue, not sure if it helps:
https://groups.google.com/a/cloudera.org/forum/#!msg/cdh-user/GpwgXf_tKv4/w6oZiB
Xb4McJ
Original comment by marsg...@gmail.com
on 26 Aug 2013 at 6:20
I had a similar issue. You can try telling PowerMock to defer the classloading
of specific packages to the system classloader
I was only interested in having PowerMock mock my own packages, so I ignore the
others like this:
@PowerMockIgnore({"javax.management*", "javax.xml.*", "org.w3c.*",
"org.apache.apache.*", "com.sun.*"})
Original comment by t...@quixey.com
on 12 Sep 2013 at 10:53
Just tried this with Powermock 1.5.3 and the test passes for me.
Original comment by dmario...@gmail.com
on 21 Jan 2014 at 9:42
Original issue reported on code.google.com by
marsg...@gmail.com
on 26 Aug 2013 at 6:11Attachments: