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

javadoc in XmlElementRef.java has a missmatch from actual methods #1178

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

Comments

@LanceAndersen
Copy link

Previously tracked as https://bugs.openjdk.java.net/browse/JDK-8189718

A DESCRIPTION OF THE PROBLEM :
XmlElementRef.java

at line 59 - 62 :

  •  
    
  • public void setTerm(JAXBElement<? extends Operator>);
  • public JAXBElement<? extends Operator> getTerm();

"<? extends Operator>" is not a HTML4 tag.
Therefore , I think that :
(1)"<" and ">" => "<" and "& gt;"
or
(2)

..
=> {@code ..}

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
public void setTerm(JAXBElement<? extends Operator>);
public JAXBElement<? extends Operator> getTerm();

ACTUAL -
public void setTerm(JAXBElement);
public JAXBElement getTerm();

URL OF FAULTY DOCUMENTATION :
https://docs.oracle.com/javase/8/docs/api/javax/xml/bind/annotation/XmlElementRef.html

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