flamingo
  1. flamingo
  2. FLAMINGO-81

SvgBatikIcon allocates thread pool but never shuts it down

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: 5.0
    • Fix Version/s: milestone 1
    • Component/s: common components
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      81

      Description

      SvgBatikIcon allocates a static thread pool:

      private static ExecutorService loadService = Executors.newFixedThreadPool(5);

      but never calls shutdown() on this. This means that if you ever create an SVG
      icon, you hang the shut down sequence (forcing a System.exit(0) call) since the
      VM won't shut down when the event thread shuts down after the last window is
      disposed.

      Workaround is to not use SVG icons...

        Activity

        flynnk created issue -
        kenaiadmin made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 81 69745

          People

          • Assignee:
            kirillcool
            Reporter:
            flynnk
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: