aboutsummaryrefslogtreecommitdiffstats
path: root/docs/faq
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-11-05 18:13:35 +0000
committerwisberg <wisberg>2003-11-05 18:13:35 +0000
commit40e70a0f2d52bb2104b8c58615c97831c8f274c7 (patch)
treef7714d7ce7c50581d5d03fd7c4f1000ecc81bc1e /docs/faq
parent1fd18c463e5bf9871b3fed0a9212fb281722df11 (diff)
downloadaspectj-40e70a0f2d52bb2104b8c58615c97831c8f274c7.tar.gz
aspectj-40e70a0f2d52bb2104b8c58615c97831c8f274c7.zip
class is already defined entry
Diffstat (limited to 'docs/faq')
-rw-r--r--docs/faq/faq.xml20
1 files changed, 19 insertions, 1 deletions
diff --git a/docs/faq/faq.xml b/docs/faq/faq.xml
index e9b7d32da..8634929d9 100644
--- a/docs/faq/faq.xml
+++ b/docs/faq/faq.xml
@@ -23,7 +23,7 @@
2003 Contributors. All rights reserved.
</para>
<!-- todo Update me! -->
- <para>Last updated August 6, 2003.
+ <para>Last updated November 5, 2003.
</para>
<para>
This FAQ covers AspectJ versions 1.0 and 1.1.
@@ -2960,6 +2960,23 @@ aspect A {
for the IDE to determine how to increase available memory.
</para>
</answer>
+ </qandaentry>
+ <qandaentry>
+ <question id="q:duplicateclass"
+ xreflabel="Q:Why do I get a message that my class is already defined?">
+ <para>
+ Why do I get a message that my class is already defined?
+ </para>
+ </question>
+ <answer>
+ <para>
+ Most commonly, a source file was specified twice on the command line
+ (e.g., directly and by a *.java entry in a .lst file).
+ However, sometimes you have defined a class in two files in the
+ same package, and you need to rename the class or change its
+ scope. You should get this message from any Java compiler.
+ </para>
+ </answer>
</qandaentry>
<qandaentry>
<question id="q:ajcrecompile"
@@ -4172,6 +4189,7 @@ vmparam -Xmx384m
Entries changed since the earlier September, 2003 version:
<itemizedlist>
<listitem><para><xref linkend="q:noaspectbound"/></para></listitem>
+ <listitem><para><xref linkend="q:duplicateclass"/></para></listitem>
</itemizedlist>
</para>
</answer>