Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8185668

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • None
    • xml
    • None

      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

            zli Zheng Jun Li (Inactive)
            lancea Lance Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: