cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject cxf git commit: [CXF-6927]check if msv is available in Stax2ValidationUtils to avoid the NCDFE when use IBM JDK
Date Tue, 31 May 2016 07:56:14 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes ac671d508 -> a22bfffb6


[CXF-6927]check if msv is available in Stax2ValidationUtils to avoid the NCDFE when use IBM
JDK

(cherry picked from commit bc2ac254d4f780d2443962adcdaf0a8db5b30280)
(cherry picked from commit ffdd8830bf625fcb55a76342281819d59ea79fe6)


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/a22bfffb
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/a22bfffb
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/a22bfffb

Branch: refs/heads/3.0.x-fixes
Commit: a22bfffb63ed69efbeb0dedca18e2f81ec472e74
Parents: ac671d5
Author: Freeman Fang <freeman.fang@gmail.com>
Authored: Tue May 31 15:51:04 2016 +0800
Committer: Freeman Fang <freeman.fang@gmail.com>
Committed: Tue May 31 15:54:48 2016 +0800

----------------------------------------------------------------------
 .../org/apache/cxf/staxutils/validation/Stax2ValidationUtils.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/a22bfffb/core/src/main/java/org/apache/cxf/staxutils/validation/Stax2ValidationUtils.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/staxutils/validation/Stax2ValidationUtils.java
b/core/src/main/java/org/apache/cxf/staxutils/validation/Stax2ValidationUtils.java
index 87915c0..56e060b 100644
--- a/core/src/main/java/org/apache/cxf/staxutils/validation/Stax2ValidationUtils.java
+++ b/core/src/main/java/org/apache/cxf/staxutils/validation/Stax2ValidationUtils.java
@@ -57,6 +57,7 @@ class Stax2ValidationUtils {
     static {
         boolean hasw = false;
         try {
+            new ResolvingGrammarReaderController(null, null); // will throw if msv isn't
available
             new W3CMultiSchemaFactory(); // will throw if wrong woodstox.
             hasw = true;
         } catch (Throwable t) {


Mime
View raw message