[weld-commits] [weld/core] fa8086: Improve java.lang.reflect.Type implementations

GitHub noreply at github.com
Wed Jul 9 10:52:52 EDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/weld/core
  Commit: fa8086643333a16ace13335cb82ba9ef9f750aca
      https://github.com/weld/core/commit/fa8086643333a16ace13335cb82ba9ef9f750aca
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-07-09 (Wed, 09 Jul 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/util/reflection/GenericArrayTypeImpl.java
    M impl/src/main/java/org/jboss/weld/util/reflection/ParameterizedTypeImpl.java
    A impl/src/main/java/org/jboss/weld/util/reflection/WildcardTypeImpl.java

  Log Message:
  -----------
  Improve java.lang.reflect.Type implementations


  Commit: 25f1b4bfbf5f5c38cda2e5f017d5a1144663f50a
      https://github.com/weld/core/commit/25f1b4bfbf5f5c38cda2e5f017d5a1144663f50a
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-07-09 (Wed, 09 Jul 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/logging/ReflectionLogger.java
    A impl/src/main/java/org/jboss/weld/resolution/CovariantTypes.java
    A impl/src/main/java/org/jboss/weld/resolution/InvariantTypes.java
    M impl/src/main/java/org/jboss/weld/util/Types.java
    A impl/src/test/java/org/jboss/weld/tests/unit/resolution/CovariantTypesTest.java
    A impl/src/test/java/org/jboss/weld/tests/unit/resolution/InvariantTypesTest.java

  Log Message:
  -----------
  WELD-1692 Add CovariantTypes and InvariantTypes utility classes


  Commit: f702f92bb876aa0c2e000cebfb5138ceb42d9e6a
      https://github.com/weld/core/commit/f702f92bb876aa0c2e000cebfb5138ceb42d9e6a
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-07-09 (Wed, 09 Jul 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/manager/BeanManagerImpl.java
    A impl/src/main/java/org/jboss/weld/resolution/AbstractAssignabilityRules.java
    M impl/src/main/java/org/jboss/weld/resolution/AbstractTypeSafeBeanResolver.java
    A impl/src/main/java/org/jboss/weld/resolution/BeanTypeAssignabilityRules2.java
    M impl/src/main/java/org/jboss/weld/resolution/TypeSafeDisposerResolver.java
    M impl/src/test/java/org/jboss/weld/tests/unit/reflection/util/BeanTypeAssignabilityTest.java
    M impl/src/test/java/org/jboss/weld/tests/unit/reflection/util/Weld1102Test.java
    M impl/src/test/java/org/jboss/weld/tests/unit/resolution/CovariantTypesTest.java

  Log Message:
  -----------
  WELD-1692 New bean type assignability rules implementation


  Commit: d63b63cfad60af1788508de80ffaed5e2193c1d8
      https://github.com/weld/core/commit/d63b63cfad60af1788508de80ffaed5e2193c1d8
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-07-09 (Wed, 09 Jul 2014)

  Changed paths:
    A impl/src/main/java/org/jboss/weld/resolution/EventTypeAssignabilityRules2.java
    M impl/src/main/java/org/jboss/weld/resolution/TypeSafeObserverResolver.java
    M impl/src/test/java/org/jboss/weld/tests/unit/reflection/util/EventTypeAssignabilityTest.java

  Log Message:
  -----------
  WELD-1692 New event type assignability rules implementation


  Commit: 325a9036d1edd7d29f56e040b81b2824cd1aef17
      https://github.com/weld/core/commit/325a9036d1edd7d29f56e040b81b2824cd1aef17
  Author: Matus Abaffy <maabaffy at redhat.com>
  Date:   2014-07-09 (Wed, 09 Jul 2014)

  Changed paths:
    M impl/src/test/java/org/jboss/weld/tests/unit/resolution/CovariantTypesTest.java
    M impl/src/test/java/org/jboss/weld/tests/unit/resolution/InvariantTypesTest.java

  Log Message:
  -----------
  Minor types tests improvements


  Commit: b73c436735d346eebaa921086ccc13faf61e1505
      https://github.com/weld/core/commit/b73c436735d346eebaa921086ccc13faf61e1505
  Author: Matus Abaffy <maabaffy at redhat.com>
  Date:   2014-07-09 (Wed, 09 Jul 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/resolution/CovariantTypes.java
    M impl/src/test/java/org/jboss/weld/tests/unit/resolution/CovariantTypesTest.java
    M impl/src/test/java/org/jboss/weld/tests/unit/resolution/InvariantTypesTest.java

  Log Message:
  -----------
  Fix CovariantTypes
- a type variable is assignable from a second one if the second one extends the first one
- Consider also the case when a wildcard is bounded by a type variable


  Commit: bc5701f61595936b4c13763652051dd0a231ddbb
      https://github.com/weld/core/commit/bc5701f61595936b4c13763652051dd0a231ddbb
  Author: Matus Abaffy <maabaffy at redhat.com>
  Date:   2014-07-09 (Wed, 09 Jul 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/resolution/BeanTypeAssignabilityRules2.java
    M impl/src/main/java/org/jboss/weld/resolution/CovariantTypes.java
    M impl/src/test/java/org/jboss/weld/tests/unit/reflection/util/BeanTypeAssignabilityTest.java
    M impl/src/test/java/org/jboss/weld/tests/unit/reflection/util/EventTypeAssignabilityTest.java

  Log Message:
  -----------
  Cosmetic changes
- names of method's parameters were slightly misleading (considering the usage of the method)


  Commit: 747578cfbcbf5b010c5126658fb845bf4b194f8d
      https://github.com/weld/core/commit/747578cfbcbf5b010c5126658fb845bf4b194f8d
  Author: Matus Abaffy <maabaffy at redhat.com>
  Date:   2014-07-09 (Wed, 09 Jul 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/resolution/AbstractAssignabilityRules.java
    M impl/src/main/java/org/jboss/weld/resolution/BeanTypeAssignabilityRules2.java
    M impl/src/main/java/org/jboss/weld/resolution/EventTypeAssignabilityRules2.java
    M impl/src/test/java/org/jboss/weld/tests/unit/reflection/util/BeanTypeAssignabilityTest.java

  Log Message:
  -----------
  Use TypeVariables' uppermost bounds in AssignabilityRules


  Commit: 1e02efdcdfff08b6b65bdd2e90e5115b563530c3
      https://github.com/weld/core/commit/1e02efdcdfff08b6b65bdd2e90e5115b563530c3
  Author: Matus Abaffy <maabaffy at redhat.com>
  Date:   2014-07-09 (Wed, 09 Jul 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/resolution/AbstractAssignabilityRules.java
    M impl/src/main/java/org/jboss/weld/resolution/BeanTypeAssignabilityRules2.java
    M impl/src/main/java/org/jboss/weld/resolution/CovariantTypes.java
    M impl/src/test/java/org/jboss/weld/tests/unit/reflection/util/BeanTypeAssignabilityTest.java

  Log Message:
  -----------
  WELD-1684 - BeanTypeAssignabilityRules#matches is incorrect for TypeVariable with multiple bounds


  Commit: c532a1735b6ceef4d3a95cf1c4d8048b5f153a60
      https://github.com/weld/core/commit/c532a1735b6ceef4d3a95cf1c4d8048b5f153a60
  Author: Matus Abaffy <maabaffy at redhat.com>
  Date:   2014-07-09 (Wed, 09 Jul 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/resolution/EventTypeAssignabilityRules2.java
    M impl/src/test/java/org/jboss/weld/tests/unit/reflection/util/EventTypeAssignabilityTest.java

  Log Message:
  -----------
  Extend EventTypeAssignabilityRules2
- consider the case when the observed parameterized type contains a wildcard with a type variable as a bound


  Commit: 7b59bedabf37818ccf6ad4ac621cfeb22e670464
      https://github.com/weld/core/commit/7b59bedabf37818ccf6ad4ac621cfeb22e670464
  Author: Matus Abaffy <maabaffy at redhat.com>
  Date:   2014-07-09 (Wed, 09 Jul 2014)

  Changed paths:
    M impl/findbugsfilter.xml
    M impl/src/main/java/org/jboss/weld/util/reflection/WildcardTypeImpl.java

  Log Message:
  -----------
  Make findbugs happy


  Commit: 86bc7baa7379479a939f2100cbf118b271da4900
      https://github.com/weld/core/commit/86bc7baa7379479a939f2100cbf118b271da4900
  Author: Matus Abaffy <maabaffy at redhat.com>
  Date:   2014-07-09 (Wed, 09 Jul 2014)

  Changed paths:
    M impl/src/test/java/org/jboss/weld/tests/unit/reflection/util/EventTypeAssignabilityTest.java

  Log Message:
  -----------
  Remove incorrect tests from EventTypeAssignabilityTest
- event with unresolvable wildcard cannot be fired


  Commit: e5ed895abac6e4a1009b6f54f6a1516db4260b69
      https://github.com/weld/core/commit/e5ed895abac6e4a1009b6f54f6a1516db4260b69
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-07-09 (Wed, 09 Jul 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/resolution/AbstractAssignabilityRules.java
    M impl/src/main/java/org/jboss/weld/resolution/BeanTypeAssignabilityRules2.java
    M impl/src/main/java/org/jboss/weld/resolution/EventTypeAssignabilityRules2.java

  Log Message:
  -----------
  Align names


  Commit: 96e8bd08856ce797f83aebd4d25b92c2bb70527e
      https://github.com/weld/core/commit/96e8bd08856ce797f83aebd4d25b92c2bb70527e
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-07-09 (Wed, 09 Jul 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/resolution/AbstractTypeSafeBeanResolver.java
    M impl/src/main/java/org/jboss/weld/resolution/BeanTypeAssignabilityRules2.java
    A impl/src/main/java/org/jboss/weld/resolution/DelegateInjectionPointAssignabilityRules2.java
    M impl/src/main/java/org/jboss/weld/resolution/TypeSafeDecoratorResolver.java
    A impl/src/test/java/org/jboss/weld/tests/unit/reflection/util/DelegateInjectionPointAssignabilityTest.java
    M impl/src/test/java/org/jboss/weld/tests/unit/reflection/util/EventTypeAssignabilityTest.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/decorators/generic/GenericBean.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/decorators/generic/PartialDecorator.java
    M tests-arquillian/src/test/java/org/jboss/weld/tests/decorators/generic/StringPartialDecorator.java

  Log Message:
  -----------
  New DelegateInjectionPointAssignabilityRules implementation based on WELD-1692


  Commit: e080af5112be0992708f64dcbd0abe01324bf806
      https://github.com/weld/core/commit/e080af5112be0992708f64dcbd0abe01324bf806
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-07-09 (Wed, 09 Jul 2014)

  Changed paths:
    M impl/src/main/java/org/jboss/weld/manager/BeanManagerImpl.java
    M impl/src/main/java/org/jboss/weld/resolution/AbstractAssignabilityRules.java
    M impl/src/main/java/org/jboss/weld/resolution/AbstractTypeSafeBeanResolver.java
    M impl/src/main/java/org/jboss/weld/resolution/AssignabilityRules.java
    M impl/src/main/java/org/jboss/weld/resolution/BeanTypeAssignabilityRules.java
    R impl/src/main/java/org/jboss/weld/resolution/BeanTypeAssignabilityRules2.java
    M impl/src/main/java/org/jboss/weld/resolution/DelegateInjectionPointAssignabilityRules.java
    R impl/src/main/java/org/jboss/weld/resolution/DelegateInjectionPointAssignabilityRules2.java
    M impl/src/main/java/org/jboss/weld/resolution/EventTypeAssignabilityRules.java
    R impl/src/main/java/org/jboss/weld/resolution/EventTypeAssignabilityRules2.java
    M impl/src/main/java/org/jboss/weld/resolution/TypeSafeDecoratorResolver.java
    M impl/src/main/java/org/jboss/weld/resolution/TypeSafeDisposerResolver.java
    M impl/src/main/java/org/jboss/weld/resolution/TypeSafeObserverResolver.java
    M impl/src/test/java/org/jboss/weld/tests/unit/reflection/util/BeanTypeAssignabilityTest.java
    M impl/src/test/java/org/jboss/weld/tests/unit/reflection/util/DelegateInjectionPointAssignabilityTest.java
    M impl/src/test/java/org/jboss/weld/tests/unit/reflection/util/EventTypeAssignabilityTest.java
    M impl/src/test/java/org/jboss/weld/tests/unit/reflection/util/Weld1102Test.java

  Log Message:
  -----------
  Remove old AssignabilityRules implementations


  Commit: de0233e0aab4f71e94900deab4d2c138d84887d4
      https://github.com/weld/core/commit/de0233e0aab4f71e94900deab4d2c138d84887d4
  Author: Jozef Hartinger <jharting at redhat.com>
  Date:   2014-07-09 (Wed, 09 Jul 2014)

  Changed paths:
    M environments/se/core/src/test/groovy/org/jboss/weld/environment/se/test/groovy/interceptors/GroovyInterceptorTest.groovy
    M impl/src/main/java/org/jboss/weld/annotated/enhanced/MethodSignature.java
    M impl/src/main/java/org/jboss/weld/annotated/enhanced/jlr/MethodSignatureImpl.java
    A impl/src/main/java/org/jboss/weld/bean/proxy/GroovyMethodFilter.java
    A impl/src/main/java/org/jboss/weld/bean/proxy/ProxiedMethodFilter.java
    M impl/src/main/java/org/jboss/weld/bean/proxy/ProxyFactory.java

  Log Message:
  -----------
  WELD-840 WELD-1606 Fix compatibility with Groovy objects


Compare: https://github.com/weld/core/compare/e294401fa04d...de0233e0aab4


More information about the weld-commits mailing list