diff options
author | mwebster <mwebster> | 2006-09-04 14:24:51 +0000 |
---|---|---|
committer | mwebster <mwebster> | 2006-09-04 14:24:51 +0000 |
commit | 090de7e4c5c9618f965259f93de6d490050543da (patch) | |
tree | 9a39483fc3002f11ea750a6675ae0583d1604f97 /runtime | |
parent | 14e8b7d8f0c94d316665036c3968821f8874678e (diff) | |
download | aspectj-090de7e4c5c9618f965259f93de6d490050543da.tar.gz aspectj-090de7e4c5c9618f965259f93de6d490050543da.zip |
Bug 155972 "NullPointerException in ConstructorSignature.getConstructor()"
Diffstat (limited to 'runtime')
3 files changed, 3 insertions, 3 deletions
diff --git a/runtime/src/org/aspectj/runtime/reflect/ConstructorSignatureImpl.java b/runtime/src/org/aspectj/runtime/reflect/ConstructorSignatureImpl.java index 985300360..a7f688d58 100644 --- a/runtime/src/org/aspectj/runtime/reflect/ConstructorSignatureImpl.java +++ b/runtime/src/org/aspectj/runtime/reflect/ConstructorSignatureImpl.java @@ -48,7 +48,7 @@ class ConstructorSignatureImpl extends CodeSignatureImpl implements ConstructorS public Constructor getConstructor() { if (constructor == null) { try { - constructor = declaringType.getDeclaredConstructor(getParameterTypes()); + constructor = getDeclaringType().getDeclaredConstructor(getParameterTypes()); } catch (Exception ex) { ; // nothing we can do, caller will see null } diff --git a/runtime/src/org/aspectj/runtime/reflect/FieldSignatureImpl.java b/runtime/src/org/aspectj/runtime/reflect/FieldSignatureImpl.java index f22b603a5..8c3de24c4 100644 --- a/runtime/src/org/aspectj/runtime/reflect/FieldSignatureImpl.java +++ b/runtime/src/org/aspectj/runtime/reflect/FieldSignatureImpl.java @@ -55,7 +55,7 @@ public class FieldSignatureImpl extends MemberSignatureImpl implements FieldSign public Field getField() { if (field == null) { try { - field = declaringType.getDeclaredField(getName()); + field = getDeclaringType().getDeclaredField(getName()); } catch (Exception ex) { ; // nothing we can do, caller will see null } diff --git a/runtime/src/org/aspectj/runtime/reflect/InitializerSignatureImpl.java b/runtime/src/org/aspectj/runtime/reflect/InitializerSignatureImpl.java index 8b074e707..adb8f840e 100644 --- a/runtime/src/org/aspectj/runtime/reflect/InitializerSignatureImpl.java +++ b/runtime/src/org/aspectj/runtime/reflect/InitializerSignatureImpl.java @@ -50,7 +50,7 @@ class InitializerSignatureImpl extends CodeSignatureImpl implements InitializerS public Constructor getInitializer() { if (constructor == null) { try { - constructor = declaringType.getDeclaredConstructor(getParameterTypes()); + constructor = getDeclaringType().getDeclaredConstructor(getParameterTypes()); } catch (Exception ex) { ; // nothing we can do, caller will see null } |