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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 1.8
    • None
    • Bridge
    • None
    • 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

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

            Dates

              Created:
              Updated: