Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

JAXBContext.newInstance( String contextPath ) javadoc is missing the @param and @return values #1183

Open
LanceAndersen opened this issue Apr 20, 2018 · 0 comments

Comments

@LanceAndersen
Copy link

This issue was previously tracked via: https://bugs.openjdk.java.net/browse/JDK-8185668

JAXBContext.newInstance( String contextPath ) javaodoc is missing the parameter and return type description:

public static JAXBContext newInstance​(String contextPath)
throws JAXBException
Create a new instance of a JAXBContext class.
This is a convenience method to invoke the newInstance(String,ClassLoader) method with the context class loader of the current thread.

Throws:
JAXBException - if an error was encountered while creating the JAXBContext such as
failure to locate either ObjectFactory.class or jaxb.index in the packages
an ambiguity among global elements contained in the contextPath
failure to locate a value for the context factory provider property
mixing schema derived packages from different providers on the same contextPath
packages are not open to java.xml.bind module

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant