one size does not fit all: dedicated utility methods to get classloader preferring...
authorMatt Benson <mbenson@apache.org>
Wed, 17 Oct 2018 21:30:16 +0000 (16:30 -0500)
committerMatt Benson <mbenson@apache.org>
Wed, 17 Oct 2018 21:30:52 +0000 (16:30 -0500)
commit796a2ca4474e29f28e6e047cafe4d4485ee8880d
tree47ec399fda8e50e37cdfc86bded07fa69be85ae6
parente285ca043ae5179b4d680b1fb861dc06c60beb1c
one size does not fit all: dedicated utility methods to get classloader preferring TCCL or per-class as appropriate (typically, user customizations are found in TCCL if at all; core functionality prefers its own classes' loaders). Aims to address multiple OSGI-related issues.
12 files changed:
bval-jsr/src/main/java/org/apache/bval/jsr/ConfigurationImpl.java
bval-jsr/src/main/java/org/apache/bval/jsr/ConstraintDefaults.java
bval-jsr/src/main/java/org/apache/bval/jsr/DefaultMessageInterpolator.java
bval-jsr/src/main/java/org/apache/bval/jsr/metadata/XmlBuilder.java
bval-jsr/src/main/java/org/apache/bval/jsr/resolver/DefaultTraversableResolver.java
bval-jsr/src/main/java/org/apache/bval/jsr/xml/AnnotationProxyBuilder.java
bval-jsr/src/main/java/org/apache/bval/jsr/xml/SchemaManager.java
bval-jsr/src/main/java/org/apache/bval/jsr/xml/ValidationMappingParser.java
bval-jsr/src/main/java/org/apache/bval/jsr/xml/ValidationParser.java
bval-jsr/src/main/java/org/apache/bval/jsr/xml/XmlUtils.java
bval-jsr/src/main/java/org/apache/bval/util/reflection/Reflection.java
bval-jsr/src/test/java/org/apache/bval/jsr/xml/ValidationParserTest.java