JOL has an thread-safe issue with

Igor Nikonov inikonov at sdl.com
Wed May 26 10:15:20 UTC 2021


We had to change

GraphLayout.parseInstance(this) .totalSize();

with

GraphLayout graphLayout = null;
        synchronized (Sizeable.class) {
            graphLayout = GraphLayout.parseInstance(this);
        }
        return (int) graphLayout.totalSize();

in order to avoid getting

Igor Nikonov | R&D, Tridion | RWS Group
Group Technology
61, Kopernika street 16, Kyiv, Ukraine
M: +38 (0)66 400 8171
www.rws.com<http://www.rws.com/>


This email including any files transmitted with it are confidential and may contain privileged information  intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee you must not use, disclose, copy, disseminate or print its contents or any attachments.  If you have received this email in error please notify the sender by replying to this message.  Emails sent or received can be recorded and may be monitored for internal compliance purposes.
  
 SECURITY WARNING:  Although this e-mail and its attachments have been screened and are believed to be free from any virus, it is the responsibility of the recipient to ensure that they are virus free.  The originator will not accept any liability for any loss or damage caused by a virus.


More information about the jol-dev mailing list