]> source.dussan.org Git - aspectj.git/commit
Fix for Bugzilla Bug 44587
authorjhugunin <jhugunin>
Wed, 14 Jan 2004 15:24:06 +0000 (15:24 +0000)
committerjhugunin <jhugunin>
Wed, 14 Jan 2004 15:24:06 +0000 (15:24 +0000)
commit5834de97836ebcc056415736c17c46e8b1dfaf5a
treea7b87ccc35e25aafe73d24d17f08cc33f62b22c4
parent7bbd1f419239dc9e8b46e7fd912b2bc007bbd76a
Fix for Bugzilla Bug 44587
   Erroneous exception conversion
and Bugzilla Bug 34206
   before():execution(new(..)) does not throw NoAspectBoundException

All exceptions that occur during the static intialization of a persingleton
aspect will be swallowed.  When using that aspect (via aspectOf())
a NoAspectBoundException will be thrown with the original exception
from the staitc initializer as the cause.
12 files changed:
lib/test/aspectjrt.jar
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectClinit.java
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/AspectDeclaration.java
runtime/src/org/aspectj/lang/NoAspectBoundException.java
runtime/testsrc/RuntimeModuleTests.java
tests/ajcTests.xml
tests/bugs/ErroneousExceptionConversion.java [new file with mode: 0644]
tests/bugs/ErroneousExceptionConversion1.java [new file with mode: 0644]
tests/new/ConstructorExecInitFails.java
weaver/src/org/aspectj/weaver/AjcMemberMaker.java
weaver/src/org/aspectj/weaver/NameMangler.java
weaver/src/org/aspectj/weaver/bcel/BcelClassWeaver.java