public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/20090] New: gij should be implemented in Java
@ 2005-02-20 0:49 fitzsim at redhat dot com
2005-02-20 1:01 ` [Bug libgcj/20090] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: fitzsim at redhat dot com @ 2005-02-20 0:49 UTC (permalink / raw)
To: gcc-bugs
We need a new class gnu.gcj.runtime.Main that handles the same set of non-jvm
options handled by the java command. Then gij.cc could use the invocation API
to parse out the jvm options, create a jvm, set up the java argument list and
call gnu.gcj.runtime.Main.main. This would allow us to easily create a proper
"java" command, using the invocation API. Also, it would eliminate the need for
libgij. Instead, one could do:
gcj --main=gnu.gcj.runtime.Main -D...
--
Summary: gij should be implemented in Java
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: fitzsim at redhat dot com
ReportedBy: fitzsim at redhat dot com
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20090
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libgcj/20090] gij should be implemented in Java
2005-02-20 0:49 [Bug libgcj/20090] New: gij should be implemented in Java fitzsim at redhat dot com
@ 2005-02-20 1:01 ` pinskia at gcc dot gnu dot org
2005-04-02 2:28 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-20 1:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-19 20:10 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-02-19 20:10:58
date| |
Version|unknown |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20090
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libgcj/20090] gij should be implemented in Java
2005-02-20 0:49 [Bug libgcj/20090] New: gij should be implemented in Java fitzsim at redhat dot com
2005-02-20 1:01 ` [Bug libgcj/20090] " pinskia at gcc dot gnu dot org
@ 2005-04-02 2:28 ` cvs-commit at gcc dot gnu dot org
2005-04-02 2:31 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-02 2:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-02 02:27 -------
Subject: Bug 20090
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: fitzsim@gcc.gnu.org 2005-04-02 02:26:52
Modified files:
gcc/java : ChangeLog gcj.texi
libjava : ChangeLog configure configure.ac gij.cc
prims.cc
libjava/gcj : cni.h
libjava/include: config.h.in java-props.h jvm.h
libjava/java/lang: natRuntime.cc
Log message:
2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
* gcj.texi (Invoking gij): Add descriptions of new -X options.
Mention recognized-and-ignored compatibility options.
(Memory allocation): Add descriptions of JvMalloc, JvRealloc and
JvFree.
(About CNI): Add Memory allocation section.
2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/20090, PR libgcj/20526
* gij.cc (nonstandard_opts_help): New function.
(add_option): New function.
(main): Support java options. Set java.class.path. Don't set
_Jv_Jar_Class_Path.
* prims.cc (parse_x_arg): New function.
(parse_init_args): Call parse_x_arg for -X and _ options, when
ignoreUnrecognized is true.
(new _Jv_RunMain): New vm_args variant.
(old _Jv_RunMain): Call new vm_args _Jv_RunMain.
(_Jv_Jar_Class_Path): Remove variable.
* include/java-props.h: Likewise.
* include/cni.h (JvRealloc): New function.
* include/jvm.h (_Jv_RunMain): Declare vm_args variant.
* java/lang/natRuntime.cc (insertSystemProperties): Remove
_Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
macros.
* configure.ac (JV_VERSION): Define.
(JV_API_VERSION): Likewise.
* configure: Regenerate.
* include/config.h.in: Regenerate.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&r1=1.1584&r2=1.1585
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/gcj.texi.diff?cvsroot=gcc&r1=1.77&r2=1.78
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3449&r2=1.3450
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.diff?cvsroot=gcc&r1=1.258&r2=1.259
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.ac.diff?cvsroot=gcc&r1=1.24&r2=1.25
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gij.cc.diff?cvsroot=gcc&r1=1.25&r2=1.26
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/prims.cc.diff?cvsroot=gcc&r1=1.107&r2=1.108
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gcj/cni.h.diff?cvsroot=gcc&r1=1.15&r2=1.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/include/config.h.in.diff?cvsroot=gcc&r1=1.59&r2=1.60
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/include/java-props.h.diff?cvsroot=gcc&r1=1.8&r2=1.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/include/jvm.h.diff?cvsroot=gcc&r1=1.81&r2=1.82
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/lang/natRuntime.cc.diff?cvsroot=gcc&r1=1.52&r2=1.53
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20090
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libgcj/20090] gij should be implemented in Java
2005-02-20 0:49 [Bug libgcj/20090] New: gij should be implemented in Java fitzsim at redhat dot com
2005-02-20 1:01 ` [Bug libgcj/20090] " pinskia at gcc dot gnu dot org
2005-04-02 2:28 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-02 2:31 ` cvs-commit at gcc dot gnu dot org
2005-04-02 16:47 ` fitzsim at redhat dot com
2005-04-02 16:49 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-02 2:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-02 02:30 -------
Subject: Bug 20090
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: fitzsim@gcc.gnu.org 2005-04-02 02:30:41
Modified files:
gcc/java : ChangeLog gcj.texi
libjava : ChangeLog configure configure.ac gij.cc
prims.cc
libjava/gcj : cni.h
libjava/include: config.h.in java-props.h jvm.h
libjava/java/lang: natRuntime.cc
Log message:
2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
* gcj.texi (Invoking gij): Add descriptions of new -X options.
Mention recognized-and-ignored compatibility options.
(Memory allocation): Add descriptions of JvMalloc, JvRealloc and
JvFree.
(About CNI): Add Memory allocation section.
2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
PR libgcj/20090, PR libgcj/20526
* gij.cc (nonstandard_opts_help): New function.
(add_option): New function.
(main): Support java options. Set java.class.path. Don't set
_Jv_Jar_Class_Path.
* prims.cc (parse_x_arg): New function.
(parse_init_args): Call parse_x_arg for -X and _ options, when
ignoreUnrecognized is true.
(new _Jv_RunMain): New vm_args variant.
(old _Jv_RunMain): Call new vm_args _Jv_RunMain.
(_Jv_Jar_Class_Path): Remove variable.
* include/java-props.h: Likewise.
* include/cni.h (JvRealloc): New function.
* include/jvm.h (_Jv_RunMain): Declare vm_args variant.
* java/lang/natRuntime.cc (insertSystemProperties): Remove
_Jv_Jar_Class_Path logic. Use JV_VERSION and JV_API_VERSION
macros.
* configure.ac (JV_VERSION): Define.
(JV_API_VERSION): Likewise.
* configure: Regenerate.
* include/config.h.in: Regenerate.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.1556.2.9&r2=1.1556.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/java/gcj.texi.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.73.2.3&r2=1.73.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.3391.2.34&r2=1.3391.2.35
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.253&r2=1.253.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.ac.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.19&r2=1.19.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gij.cc.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.25&r2=1.25.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/prims.cc.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.104&r2=1.104.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/gcj/cni.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.15&r2=1.15.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/include/config.h.in.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.59&r2=1.59.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/include/java-props.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.8&r2=1.8.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/include/jvm.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.77.2.2&r2=1.77.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/lang/natRuntime.cc.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.47.2.2&r2=1.47.2.3
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20090
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libgcj/20090] gij should be implemented in Java
2005-02-20 0:49 [Bug libgcj/20090] New: gij should be implemented in Java fitzsim at redhat dot com
` (2 preceding siblings ...)
2005-04-02 2:31 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-02 16:47 ` fitzsim at redhat dot com
2005-04-02 16:49 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: fitzsim at redhat dot com @ 2005-04-02 16:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From fitzsim at redhat dot com 2005-04-02 16:47 -------
It turns out there's nothing to do in Java -- instead, everything should be
handled in gij.cc and then passed through the invocation API. The patch that
implements this is now committed to HEAD and gcc-4_0-branch.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20090
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libgcj/20090] gij should be implemented in Java
2005-02-20 0:49 [Bug libgcj/20090] New: gij should be implemented in Java fitzsim at redhat dot com
` (3 preceding siblings ...)
2005-04-02 16:47 ` fitzsim at redhat dot com
@ 2005-04-02 16:49 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-02 16:49 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20090
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-04-02 16:49 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-20 0:49 [Bug libgcj/20090] New: gij should be implemented in Java fitzsim at redhat dot com
2005-02-20 1:01 ` [Bug libgcj/20090] " pinskia at gcc dot gnu dot org
2005-04-02 2:28 ` cvs-commit at gcc dot gnu dot org
2005-04-02 2:31 ` cvs-commit at gcc dot gnu dot org
2005-04-02 16:47 ` fitzsim at redhat dot com
2005-04-02 16:49 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).