Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-537

MemoryLeak in SchemaCompiler

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Version 3.0.2
    • Fix Version/s: Version 3.1.0
    • Component/s: Compiler
    • Labels:
      None

      Description

      Both org.apache.xmlbeans.impl.tool.SchemaCompiler and org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler use

      StscState start
      But only SchemaTypeSystemCompiler uses
      StscState end

      This breaks Class unloading. Highly relevant because the ant task org.apache.xmlbeans.impl.tool.XMLBean uses SchemaCompiler which means ant builds are leaking class definitions.
      Please add
      StscState end
      to SchemaCompiler as well

       

       

        Attachments

          Activity

            People

            • Assignee:
              dominik.stadler@gmx.at Dominik Stadler
              Reporter:
              Gösen Thorsten Goetzke
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m