From 5c1259ca2de2e42f2c8cb9998281f55bd34ba92c Mon Sep 17 00:00:00 2001 From: wisberg Date: Fri, 28 Feb 2003 06:57:38 +0000 Subject: [PATCH] fixed lists and extra empty items --- docs/devGuideDB/ajc.xml | 66 ++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 40 deletions(-) diff --git a/docs/devGuideDB/ajc.xml b/docs/devGuideDB/ajc.xml index f339aea36..48deb0eaa 100644 --- a/docs/devGuideDB/ajc.xml +++ b/docs/devGuideDB/ajc.xml @@ -190,7 +190,7 @@ - target [1.1|1.2] + -target [1.1|1.2] Specify classfile target setting (1.1 or 1.2, default is 1.1) @@ -230,7 +230,7 @@ Emit warnings for any instances of the comma-delimited list of questionable code (eg '-warn:unusedLocals,deprecation'): - + constructorName method with constructor name packageDefaultMethod attempt to override package-default method deprecation usage of deprecated type or member @@ -239,27 +239,6 @@ unusedArguments method argument never read unusedImports import statement not used by code in file - - @@ -285,14 +264,15 @@ -g:[lines,vars,source] - debug attributes level, that may take three forms: + + debug attributes level, that may take three forms: -g all debug info ('-g:lines,vars,source') -g:none no debug info -g:{items} debug info for any/all of [lines, vars, source], e.g., -g:lines,source - + @@ -310,7 +290,7 @@ - -encoding format + -encoding format Specify default source encoding format. Specify custom encoding on a per file basis by suffixing each input source file/folder name with '[encoding]'. @@ -350,7 +330,6 @@ -repeat N - Repeat compilation process N times (typically to do performance analysis). @@ -371,7 +350,6 @@ -XincrementalFile file - (Experimental) This works like incremental mode, but using a file rather than standard input to control the compiler. It will recompile each time file is changed and @@ -381,7 +359,6 @@ -XserializableAspects - (Experimental) Normally it is an error to declare aspects Serializable. This option removes that restriction. @@ -403,8 +380,9 @@ We'd like to discourage other means of mechanical distinction such as naming conventions or sub-packages in favor of the .aj extension. - - + + + Filename conventions are hard to enforce and lead to awkward names for your aspects. Instead of TracingAspect.java we @@ -417,7 +395,8 @@ .aj extension and including these files in your existing packages instead. - + + @@ -481,13 +460,14 @@ ajc @sources.lst Argfiles are also supported by jikes and javac, so you can use the files in hybrid builds. However, the support varies: - - + + Only ajc accepts command-line options Jikes and Javac do not accept internal @argfile references. Jikes and Javac only accept the @file form on the command line. - + + @@ -634,10 +614,17 @@ commands to your environment as needed. Unlike traditional java compilers, the AspectJ compiler may in certain cases generate classfiles from multiple source files. - Unfortunately, the Java class file format does not support multiple - SourceFile attributes. So, in order to make sure all source file + Unfortunately, the original Java class file format does not support + multiple + SourceFile attributes. In order to make sure all source file information is available, the AspectJ compiler may in some cases - encode multiple filenames in the SourceFile attribute. + encode multiple filenames in the SourceFile attribute. + When the Java VM generates stack traces, it uses this attribute + to specify the source file. + + (The compiler also supports the .class file extensions of JSR-45. + These permit compliant debuggers (such as jdb in Java 1.4.1) to identify + the right file and line even given many source files for a single class.) Probably the only time you may see this format is when you view @@ -684,8 +671,7 @@ File0;File1[Number1];File2[Number2] ... :LineNumber that file. - Of course, AspectJ tools will do this decoding for you, and in a - class file that comes from only a single source file, the AspectJ + In a class file that comes from only a single source file, the AspectJ compiler generates SourceFile attributes consistent with traditional Java compilers. -- 2.39.5