Removal of two instances of synchronization on Boolean

Adam Domurad adomurad at redhat.com
Thu May 17 12:38:10 PDT 2012


Hello all. Tiny patch here to remove two instances of synchronization on
Boolean (considered bad practice as typically only two Boolean objects
exist).

While I was not entirely sure what should be done about the Boolean
synchronization, Deepak's opinion was that the synchronization was not
needed, so I submitted this small patch.
2012-05-17  Adam Domurad  <adomurad at redhat.com>

        * plugin/icedteanp/java/sun/applet/PluginStreamHandler.java:
Removed 
        unnecessary synchronization on Boolean (dangerous) for code that
did
        not require synchronization.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch3.patch
Type: text/x-patch
Size: 1204 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120517/552e41fc/patch3.patch 


More information about the distro-pkg-dev mailing list