Open GoogleCodeExporter opened 9 years ago
I changed PowerMockIgnore from
@PowerMockIgnore(
{"javax.management.*","org.apache.commons.logging.*","org.apache.log4j.*"})
to
@PowerMockIgnore( {"javax.management.*"})
getting below error, tried using powermock-mockito-1.6.0-full.jar, still below
error it shows.
java.lang.OutOfMemoryError: PermGen space
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:792)
at java.lang.ClassLoader.defineClass(ClassLoader.java:635)
at org.powermock.core.classloader.MockClassLoader.loadUnmockedClass(MockClassLoader.java:189)
at org.powermock.core.classloader.MockClassLoader.loadModifiedClass(MockClassLoader.java:147)
at org.powermock.core.classloader.DeferSupportingClassLoader.loadClass(DeferSupportingClassLoader.java:65)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:792)
at java.lang.ClassLoader.defineClass(ClassLoader.java:635)
at org.powermock.core.classloader.MockClassLoader.loadUnmockedClass(MockClassLoader.java:189)
at org.powermock.core.classloader.MockClassLoader.loadModifiedClass(MockClassLoader.java:147)
at org.powermock.core.classloader.DeferSupportingClassLoader.loadClass(DeferSupportingClassLoader.java:65)
Original comment by rajeshda...@gmail.com
on 20 Jan 2015 at 4:54
After adding the javax.management, running the junit is extremely slow.
Original comment by meen...@gmail.com
on 30 Mar 2015 at 6:02
Original issue reported on code.google.com by
rajeshda...@gmail.com
on 30 Dec 2014 at 5:53