Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-882

Code that uses BaseScriptingEnvironment.createWindow() now won't compile

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.8
    • Fix Version/s: None
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All

      Description

      In r665947, BaseScriptingEnvironment.createWindow() was made protected. Some published code, such as the example at http://xmlgraphics.apache.org/batik/using/scripting/java.html, uses this method and assumes it's public.

      The method should be made public once again, but rewritten so that a single Window object only ever exists (so it will act like the getWindow() method does now). A new, different protected method that subclasses should override to provide a concrete Window object should be used.

        Attachments

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              cam Cameron McCormack
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: