-X options?

Thomas Fitzsimmons fitzsim@redhat.com
Thu Mar 3 00:02:00 GMT 2005


On Wed, 2005年03月02日 at 14:16 -0800, Casey Marshall wrote:
>>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
>>>>>>> "Casey" == Casey Marshall <csm@gnu.org> writes:
>>Casey> At least four times now I've had to look up the property name
>Casey> 'gnu.gcj.precompiled.db.path', which is really verbose.
>>Casey> Why aren't these properties (also, say, the gcj-jit properties)
>Casey> handled as '-X' options? That way, it would be easier to set
>Casey> them, and would allow the supported options to be listed with
>Casey> 'gij -X'.
>>Tom> I think we just didn't think of it.
>Tom> It sounds like a good idea to me.
>>I had written a little patch to do this (only in gij, though) but I
>also saw open patches that change the argument parsing, and realized
>that -X parsing probably shouldn't be in gij.cc.
>
Right; this should go in parse_init_args in prims.cc, and gij should be
re-written to call _Jv_CreateJavaVM. See this PR for details:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20090
I plan to work on this soon. In the mean time, there's no harm in
committing a patch for parsing these -X options in parse_init_args.
They just won't be recognized by gij until 20090 is fixed.
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /