Details

    • Type: Sub-task Sub-task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.0-M2
    • Component/s: swing
    • Labels:
      None

      Description

      When asked to render Layers into separate graphics destinations, DefaultRenderingExecutor creates temp MapContent objects to hold each Layer and pass it to a renderer. Can't use the existing MapContent class for this because failing to call tempMapContent.dispose after rendering generates warnings, while calling dispose destroys the Layers.

      Create a package-private sub-class, SingleLayerMapContent, which overrides dispose and finalize as empty methods. This can then be used to create temp instances.

        Activity

        Hide
        Michael Bedward added a comment -
        Committed new class to trunk and using it in DefaultRenderingExecutor: r37864
        Show
        Michael Bedward added a comment - Committed new class to trunk and using it in DefaultRenderingExecutor: r37864

          People

          • Assignee:
            Michael Bedward
            Reporter:
            Michael Bedward
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: