This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [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: Fri, 05 Sep 2008 10:40:55 -0700
- Subject: Re: [Patch, Doc] Java: Clarify restrictions on -freduced-reflection option.
- References: <48B31D33.5090602@avtrex.com>
David Daney wrote:
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.
I committed this slightly changed version with the changes suggested and
approved by Tom Tromey on IRC.
2008-09-05 David Daney <ddaney@avtrex.com>
* gcj.texi (-freduced-reflection): Clarify option's restrictions.
Index: gcj.texi
===================================================================
--- gcj.texi (revision 140040)
+++ 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
+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