This is the mail archive of the java@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: -X options?


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



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