From 737538ea0390bad8ef5841426277fe5575749b7c Mon Sep 17 00:00:00 2001 From: Miroslav Kos Date: Thu, 18 Feb 2016 10:20:56 +0100 Subject: [PATCH] 8149923: invalid javadoc in javax.xml.bind.JAXBContext (introduced by 8138699) Reviewed-by: lancea --- .../share/classes/javax/xml/bind/JAXBContext.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/jaxws/src/java.xml.bind/share/classes/javax/xml/bind/JAXBContext.java b/jaxws/src/java.xml.bind/share/classes/javax/xml/bind/JAXBContext.java index adfb479a849..a2d9bceb37f 100644 --- a/jaxws/src/java.xml.bind/share/classes/javax/xml/bind/JAXBContext.java +++ b/jaxws/src/java.xml.bind/share/classes/javax/xml/bind/JAXBContext.java @@ -450,8 +450,14 @@ public abstract class JAXBContext { * in an empty map. * * @return a new instance of a {@code JAXBContext} - * @throws JAXBException if an error was encountered while creating the - * {@code JAXBContext}. See {@link #newInstance(String, ClassLoader)} for details. + * @throws JAXBException + * if an error was encountered while creating the {@code JAXBContext} such as + *
    + *
  1. failure to locate either ObjectFactory.class or jaxb.index in the packages
  2. + *
  3. an ambiguity among global elements contained in the contextPath
  4. + *
  5. failure to locate a value for the context factory provider property
  6. + *
  7. mixing schema derived packages from different providers on the same contextPath
  8. + *
* @since 1.6, JAXB 2.0 */ public static JAXBContext newInstance( String contextPath,