aboutsummaryrefslogtreecommitdiffstats
path: root/loadtime
diff options
context:
space:
mode:
authoraclement <aclement>2011-08-05 16:22:02 +0000
committeraclement <aclement>2011-08-05 16:22:02 +0000
commit2699eb1ff8714142dedc9c61c916dbc3bc09fc43 (patch)
treeeefcf5795d72e342394f9a21a83ae810b070f312 /loadtime
parent4b9ef3b0e35fe2acce66e2084eb182a3be401296 (diff)
downloadaspectj-2699eb1ff8714142dedc9c61c916dbc3bc09fc43.tar.gz
aspectj-2699eb1ff8714142dedc9c61c916dbc3bc09fc43.zip
use valueOf
Diffstat (limited to 'loadtime')
-rw-r--r--loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
index f407a19f5..868c94c48 100644
--- a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
+++ b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
@@ -1026,7 +1026,7 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor {
String.class, bytes.getClass(), int.class, int.class, ProtectionDomain.class });
}
defineClassWithProtectionDomainMethod.setAccessible(true);
- clazz = defineClassWithProtectionDomainMethod.invoke(loader, new Object[] { name, bytes, new Integer(0),
+ clazz = defineClassWithProtectionDomainMethod.invoke(loader, new Object[] { name, bytes, Integer.valueOf(0),
new Integer(bytes.length), protectionDomain });
} catch (InvocationTargetException e) {
if (e.getTargetException() instanceof LinkageError) {