https://bz.apache.org/bugzilla/show_bug.cgi?id=58310

Sebb <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|NEW                         |RESOLVED

--- Comment #5 from Sebb <[email protected]> ---
(In reply to Lars H from comment #0)
>                 remoteProps.load(fis); // THIS WILL OVERWRITE ANY PREVIOUSLY
> LOADED PROPERTIES

That is _not_ true; the load method *adds* properties to the list, at least
when using Mac Java 6 and Oracle Java 7,8,9.

The following demo code shows this:

        Properties p = new Properties();
        p.load(new StringReader("a=1"));
        p.load(new StringReader("b=2"));
        p.list(System.out);

The output should be (order may vary):

-- listing properties --
b=2
a=1

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to