From bbdcb943b5becade04d5210173ba07e4fbed5611 Mon Sep 17 00:00:00 2001 From: David Daney Date: Fri, 5 Sep 2008 17:38:06 +0000 Subject: [PATCH] * gcj.texi (-freduced-reflection): Clarify option's restrictions. From-SVN: r140041 --- gcc/java/ChangeLog | 4 ++++ gcc/java/gcj.texi | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 7151cb8ec71..f80688f0d21 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2008-09-05 David Daney + + * gcj.texi (-freduced-reflection): Clarify option's restrictions. + 2008-08-21 David Daney * class.c (make_class_data): Don't add field_index when diff --git a/gcc/java/gcj.texi b/gcc/java/gcj.texi index af5b06615b0..00ac9f7dee0 100644 --- a/gcc/java/gcj.texi +++ b/gcc/java/gcj.texi @@ -557,9 +557,10 @@ the ability to use certain reflection capabilities of the standard 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