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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: tbd_minor
    • Component/s: xml
    • Labels:
      None
    • Subcomponent:

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: