This is an automated email from the ASF dual-hosted git repository.
tasanuma pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new a5ef08b YARN-9743. [JDK11] TestTimelineWebServices.testContextFactory
fails. (#1824) Contributed by Akira Ajisaka and Kinga Marton.
a5ef08b is described below
commit a5ef08b619fff296cbe8e987d17ff5caffc703d7
Author: Akira Ajisaka <[email protected]>
AuthorDate: Thu Jan 30 14:10:31 2020 +0900
YARN-9743. [JDK11] TestTimelineWebServices.testContextFactory fails.
(#1824) Contributed by Akira Ajisaka and Kinga Marton.
---
.../yarn/server/applicationhistoryservice/webapp/ContextFactory.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/webapp/ContextFactory.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/webapp/ContextFactory.java
index ff52324..c0daac9 100644
---
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/webapp/ContextFactory.java
+++
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-applicationhistoryservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/webapp/ContextFactory.java
@@ -83,7 +83,7 @@ public final class ContextFactory {
public static JAXBContext newContext(Class[] classes,
Map<String, Object> properties) throws Exception {
Class spFactory = Class.forName(
- "com.sun.xml.internal.bind.v2.ContextFactory");
+ "com.sun.xml.bind.v2.ContextFactory");
Method m = spFactory.getMethod("createContext", Class[].class, Map.class);
return (JAXBContext) m.invoke((Object) null, classes, properties);
}
@@ -123,7 +123,7 @@ public final class ContextFactory {
public static JAXBContext createContext(String contextPath, ClassLoader
classLoader, Map<String, Object> properties) throws Exception {
Class spFactory = Class.forName(
- "com.sun.xml.internal.bind.v2.ContextFactory");
+ "com.sun.xml.bind.v2.ContextFactory");
Method m = spFactory.getMethod("createContext", String.class,
ClassLoader.class, Map.class);
return (JAXBContext) m.invoke(null, contextPath, classLoader,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]