public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libgcj/10172: System.properties cannot be given with '-Dmyprop=myvalue'
@ 2003-03-20 20:40 jsturm
  0 siblings, 0 replies; 2+ messages in thread
From: jsturm @ 2003-03-20 20:40 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, java-prs, jsturm, mriekkinen, nobody

Synopsis: System.properties cannot be given with '-Dmyprop=myvalue'

Responsible-Changed-From-To: unassigned->jsturm
Responsible-Changed-By: jsturm
Responsible-Changed-When: Thu Mar 20 20:40:51 2003
Responsible-Changed-Why:
    I'll handle it.
State-Changed-From-To: open->feedback
State-Changed-By: jsturm
State-Changed-When: Thu Mar 20 20:40:51 2003
State-Changed-Why:
    Waiting for feedback.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10172


^ permalink raw reply	[flat|nested] 2+ messages in thread

* libgcj/10172: System.properties cannot be given with '-Dmyprop=myvalue'
@ 2003-03-20 20:06 mriekkinen
  0 siblings, 0 replies; 2+ messages in thread
From: mriekkinen @ 2003-03-20 20:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10172
>Category:       libgcj
>Synopsis:       System.properties cannot be given with '-Dmyprop=myvalue'
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 20 20:06:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mika Riekkinen
>Release:        gcj (GCC) 3.2
>Organization:
>Environment:
Linux snowhite 2.4.20-4GB #1 Tue Mar 4 13:12:53 UTC 2003 i686 unknown unknown GNU/Linux
SuSE 8.2 beta3
>Description:
System.properties, other than default ones are not available to user code

Code written so, that it prints a System property 'name' into console prints just null.
> ./HelloWorld -Dname=mcr70

It results in:
HelloWorld null
>How-To-Repeat:
public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("HelloWorld " + System.getProperty("name"));
    }
}
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-20 20:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-20 20:40 libgcj/10172: System.properties cannot be given with '-Dmyprop=myvalue' jsturm
  -- strict thread matches above, loose matches on Subject: below --
2003-03-20 20:06 mriekkinen

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).