This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch, Doc] Java: Clarify restrictions on -freduced-reflection option.
- From: David Daney <ddaney at avtrex dot com>
- To: Java Patch List <java-patches at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 25 Aug 2008 13:59:31 -0700
- Subject: [Patch, Doc] Java: Clarify restrictions on -freduced-reflection option.
This patch slightly enhances the documentation for GCJ's
-freduced-reflection option.
Tested with make info.
OK to commit?
gcc/java:
2008-08-25 David Daney <ddaney@avtrex.com>
* gcj.texi (-freduced-reflection): Clarify option's restrictions.
Index: gcj.texi
===================================================================
--- gcj.texi (revision 139396)
+++ gcj.texi (working copy)
@@ -557,9 +557,10 @@ the ability to use certain reflection ca
Java runtime environment. When set all meta-data except for that
which is needed to obtain correct runtime semantics is eliminated.
-For code that does not use reflection (i.e. the methods in the
-@code{java.lang.reflect} package), @code{-freduced-reflection}
-will result in proper operation with a savings in executable code size.
+For code that does not use reflection (i.e. serialization, RMI, CORBA
+and/or call methods in the @code{java.lang.reflect} package),
+@code{-freduced-reflection} will result in proper operation with a
+savings in executable code size.
JNI (@code{-fjni}) and the binary compatibility ABI
(@code{-findirect-dispatch}) do not work properly without full