diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2005-03-28 18:47:49 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2005-03-28 18:47:49 +0000 |
commit | 39087c1c9526674767766fb723023483736b70f7 (patch) | |
tree | 7b2df83c556d8382648cf834ca9ff8896f062306 /doc/hacking.texinfo | |
parent | 04584c32ab98eb03c4d5306697133ebfc77707da (diff) | |
download | classpath-39087c1c9526674767766fb723023483736b70f7.tar.gz |
2005-03-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
Merge of HEAD --> generics-branch for 2005/03/23-2005/03/28.
Changelog:
2005-03-28 Sven de Marothy <sven@physto.se>
* gnu/java/io/decode/DecoderUnicodeBig.java,
* gnu/java/io/decode/DecoderUnicodeLittle.java,
* gnu/java/io/encode/EncoderUnicodeBig.java,
* gnu/java/io/encode/EncoderUnicodeLittle.java:
New files.
2005-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
* doc/hacking.texinfo:
Added note on reserved word usage.
2005-03-26 Dalibor Topic <robilad@kaffe.org>
* native/jni/java-nio/gnu_java_nio_VMSelector.c:
Moved include statement for config.h to the top to
fix the build on Darwin6.
Reported by: Riccardo Mottola <zuse@libero.it>
2005-03-26 Dalibor Topic <robilad@kaffe.org>
* native/jni/java-nio/gnu_java_nio_VMSelector.c:
Include <sys/types.h> to fix build on OS X.
Reported by: Michael Franz <mvfranz@gmail.com>
2005-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
* java/text/DecimalFormat.java (parse):
Check whether the positive suffix matches the pattern.
2005-03-26 Chris Burdess <dog@gnu.org>
* gnu/xml/dom/DomNode.java (notifyNode): grow listener array as
required.
2005-03-26 Jeroen Frijters <jeroen@frijters.net>
* javax/imageio/spi/IIORegistry.java (IIORegistry):
Don't assume that awt Toolkit is always ClasspathToolkit.
2005-03-26 Jeroen Frijters <jeroen@frijters.net>
* java/awt/image/PixelGrabber.java (setPixels(int,int,int,int,
ColorModel,byte[],int,int): Fixed byte to int conversion.
Diffstat (limited to 'doc/hacking.texinfo')
-rw-r--r-- | doc/hacking.texinfo | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/hacking.texinfo b/doc/hacking.texinfo index 90bd86b07..96350f98c 100644 --- a/doc/hacking.texinfo +++ b/doc/hacking.texinfo @@ -669,6 +669,17 @@ the caught exception. @} @end example +@item +Avoid the use of reserved words for identifiers. This is obvious with those +such as @code{if} and @code{while} which have always been part of the Java +programming language, but you should be careful about accidentally using +words which have been added in later versions. Notable examples are +@code{assert} (added in 1.4) and @code{enum} (added in 1.5). Jikes will warn +of the use of the word @code{enum}, but, as it doesn't yet support the 1.5 +version of the language, it will still allow this usage through. A +compiler which supports 1.5 (e.g. the Eclipse compiler, ecj) will simply +fail to compile the offending source code. + @c fixme Describe Anonymous classes (example). @c fixme Descibe Naming conventions when different from GNU Coding Standards. @c fixme Describee API doc javadoc tags used. |