From 6fc766058bd163744fb0933f2fe5db89664180d4 Mon Sep 17 00:00:00 2001 From: acolyer Date: Fri, 2 Apr 2004 14:13:09 +0000 Subject: fix for Bugzilla Bug 48389 Cannot assign to final fields in intertype constructors. --- docs/progGuideDB/semantics.xml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/progGuideDB') 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 OnType to be an interface. + + Inter-type declared constructors cannot be used to assign a + value to a final variable declared in OnType. + This limitation significantly increases the ability to both understand + and compile the OnType class and the + declaring aspect separately. + + Note that in the Java language, classes that define no constructors have an implicit no-argument constructor that just calls -- cgit v1.2.3