This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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]

Re: Patch: PR 16923


>>>>> "Tom" == Thomas Fitzsimmons <fitzsim@redhat.com> writes:

Tom> +const char **_Jv_Compiler_Properties = NULL;
Tom> +int _Jv_Properties_Count = 0;
 
Tom> -  for (int i = 0; _Jv_Compiler_Properties[i]; ++i)
Tom> +  for (int i = 0; i < _Jv_Properties_Count; ++i)

I suspect this won't work if you link a java program with some -D
options.  jvgenmain creates a null-terminated _Jv_Compiler_Properties
array, but afaics there is no code path to set _Jv_Properties_Count
in this case.

Tom


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