aboutsummaryrefslogtreecommitdiffstats
path: root/docs/progGuideDB/semantics.xml
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-04-02 14:13:09 +0000
committeracolyer <acolyer>2004-04-02 14:13:09 +0000
commit6fc766058bd163744fb0933f2fe5db89664180d4 (patch)
tree5c6ab5b8deaa5b63be6d1633ea506cf80c6e94ba /docs/progGuideDB/semantics.xml
parent4fff1dcf9116dfd68b7c9688597fcdaaddcf4146 (diff)
downloadaspectj-6fc766058bd163744fb0933f2fe5db89664180d4.tar.gz
aspectj-6fc766058bd163744fb0933f2fe5db89664180d4.zip
fix for Bugzilla Bug 48389
Cannot assign to final fields in intertype constructors.
Diffstat (limited to 'docs/progGuideDB/semantics.xml')
-rw-r--r--docs/progGuideDB/semantics.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/progGuideDB/semantics.xml b/docs/progGuideDB/semantics.xml
index 379cb1cb2..da0b772b0 100644
--- a/docs/progGuideDB/semantics.xml
+++ b/docs/progGuideDB/semantics.xml
@@ -1930,6 +1930,14 @@
an error for <replaceable>OnType</replaceable> to be an interface.
</para>
+ <para>
+ Inter-type declared constructors cannot be used to assign a
+ value to a final variable declared in <replaceable>OnType</replaceable>.
+ This limitation significantly increases the ability to both understand
+ and compile the <replaceable>OnType</replaceable> class and the
+ declaring aspect separately.
+ </para>
+
<para>
Note that in the Java language, classes that define no constructors
have an implicit no-argument constructor that just calls