Code review: 7126979 (props) JCK test java_lang/System/GetProperties.java failing [macosx]

Alan Bateman Alan.Bateman at oracle.com
Thu Jan 12 11:35:02 UTC 2012


On 12/01/2012 11:22, Michael McMahon wrote:
> Could I get the following change for jdk7u-osx reviewed please?
>
> http://cr.openjdk.java.net/~michaelm/7126979/webrev.1/
>
> The freeProps() call added by mac port can only be called once. Issue 
> seen if System.setProperties(null) is called.
> GetJavaProperties() called a second time, which is supposed to return 
> the statically populated information
> from first call. But some of it has been freed already.
>
> Fix is to remove the freeProps() code added in the original port 
> changeset. The fix reverts the mac specific code
> to the original version.
>
> - Michael
I think this is the same issue that Scott Kovatch has under a different 
bugID;
   
http://mail.openjdk.java.net/pipermail/macosx-port-dev/2012-January/002148.html

-Alan.




More information about the core-libs-dev mailing list