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:54:30 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes c8ffc4a42 -> ffdd8830b


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

(cherry picked from commit bc2ac254d4f780d2443962adcdaf0a8db5b30280)


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

Branch: refs/heads/3.1.x-fixes
Commit: ffdd8830bf625fcb55a76342281819d59ea79fe6
Parents: c8ffc4a
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:51:40 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/ffdd8830/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 3a9d609..6cde540 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