[RFC][icedtea-web]: Minor clean up of slowdown code

Saad Mohammad smohammad at redhat.com
Mon Jul 9 11:27:38 PDT 2012


Hello,

The patch attached removes the check for the main-class name from the 
for loop; it is now checked once before entering the loop. Thanks Adam 
for pointing this out. :)

Changelog:
2012-07-09  Saad Mohammad  <smohammad at redhat.com>

     * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java:
     (initializeExtensions): Removes potential slowdown; main-class name is
     checked once outside of loop.

-- 
Cheers,
Saad Mohammad

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix.patch
Type: text/x-patch
Size: 2099 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120709/f21bb289/fix.patch 


More information about the distro-pkg-dev mailing list