diff options
author | aclement <aclement> | 2004-08-20 13:24:59 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-08-20 13:24:59 +0000 |
commit | 06f6b999f67331be0ea6a0b55025195b3d252deb (patch) | |
tree | fe19a96e0ac4a53e08557216ba18762c6c3e0d4c /docs/progGuideDB | |
parent | 851ff8703bddf6f4e5fdfeb13a5e205497732214 (diff) | |
download | aspectj-06f6b999f67331be0ea6a0b55025195b3d252deb.tar.gz aspectj-06f6b999f67331be0ea6a0b55025195b3d252deb.zip |
Fix for Bugzilla Bug 70794
The introduction on interface causes the interface implementation class error
(Feel free to edit my text if you feel more eloquent...)
Diffstat (limited to 'docs/progGuideDB')
-rw-r--r-- | docs/progGuideDB/implementation.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/progGuideDB/implementation.xml b/docs/progGuideDB/implementation.xml index 8f052ef50..6e73e7665 100644 --- a/docs/progGuideDB/implementation.xml +++ b/docs/progGuideDB/implementation.xml @@ -105,7 +105,14 @@ do not have a superclass that implements the interface). You may weave these separately, but be aware that you will get runtime exceptions if you run the affected top-level classes - without the interface as produced by the same ajc implementation. + without the interface as produced by the same ajc implementation. + Any intertype declaration of an abstract method on an interface + must be specified as public, you will get a compile time error + message indicating this is a compiler limitation if you do not + specify public. A non-abstract method declared on an interface + can use any access modifier except protected. Note that this is + different to normal Java rules where all members declared in + an interface are implicitly public. Finally, note that one cannot define static fields or methods on interfaces. </para> |