[weld-commits] [weld/core] adb047: WELD-2469: Improve performance of parsing beans.xm...

GitHub noreply at github.com
Tue Mar 27 03:03:00 EDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/weld/core
  Commit: adb0471f211cdee5e25e21dfdd16da18a93c41eb
      https://github.com/weld/core/commit/adb0471f211cdee5e25e21dfdd16da18a93c41eb
  Author: Martin Kouba <mkouba at redhat.com>
  Date:   2018-03-27 (Tue, 27 Mar 2018)

  Changed paths:
    M environments/common/src/main/java/org/jboss/weld/environment/deployment/WeldBeanDeploymentArchive.java
    M impl/src/main/java/org/jboss/weld/bootstrap/WeldBootstrap.java
    M impl/src/main/java/org/jboss/weld/xml/BeansXmlHandler.java
    M impl/src/main/java/org/jboss/weld/xml/BeansXmlParser.java
    A impl/src/main/java/org/jboss/weld/xml/BeansXmlStreamParser.java
    A impl/src/main/java/org/jboss/weld/xml/BeansXmlValidator.java
    M impl/src/main/java/org/jboss/weld/xml/XmlSchema.java
    M impl/src/test/java/org/jboss/weld/tests/unit/metadata/BeansXmlMergeTest.java

  Log Message:
  -----------
  WELD-2469: Improve performance of parsing beans.xml

- replaced SAX with StAX
- move validation logic in a separate class
- keep old classes for backward compatibility and delegate to new impls


  Commit: fa89d07690dca62dccdbf9d5fc1cae10969ce469
      https://github.com/weld/core/commit/fa89d07690dca62dccdbf9d5fc1cae10969ce469
  Author: Martin Kouba <mkouba at redhat.com>
  Date:   2018-03-27 (Tue, 27 Mar 2018)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/xml/BeansXmlStreamParser.java
    M impl/src/main/java/org/jboss/weld/xml/BeansXmlValidator.java

  Log Message:
  -----------
  WELD-2469: Safely close input streams passed to StreamSource


Compare: https://github.com/weld/core/compare/8a06f7c32a0e...fa89d07690dc


More information about the weld-commits mailing list