This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]