diff options
-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> |