Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Tomas-Kraus opened this issue Apr 17, 2018 · 2 comments
Open
Labels
4.1 good first issue Good for newcomers

Comments

@Tomas-Kraus
Copy link
Contributor

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

@Tomas-Kraus
Copy link
Contributor Author

@lukasj lukasj transferred this issue from eclipse-ee4j/jaxb-ri May 17, 2022
@lukasj lukasj added the good first issue Good for newcomers label May 19, 2022
@antoniosanct
Copy link
Contributor

Fixed since 5ee21af

@lukasj lukasj added the 4.1 label Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.1 good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants