persistence icon indicating copy to clipboard operation
persistence copied to clipboard

javadoc compilation prints out warnings on JDK8

Open lukasj opened this issue 10 years ago • 6 comments

javadoc generation fails on JDK8 mainly due to improper escaping of html entities and incorrect usage of closing tags

**Javadoc tool output**...
  [javadoc] /Users/lukas/development/eclipselink/javax.persistence/src/javax/persistence/SqlResultSetMapping.java:36: error: bad use of '>'
  [javadoc]  *        "WHERE (order_quantity > 25) AND (order_item = i.id)",
  [javadoc]  ^
  [javadoc] /Users/lukas/development/eclipselink/javax.persistence/src/javax/persistence/spi/PersistenceProvider.java:81: error: reference not found
  [javadoc]      * @throws PersistenceException if insufficient or inconsistent
  [javadoc]        ^
  [javadoc] /Users/lukas/development/eclipselink/javax.persistence/src/javax/persistence/spi/PersistenceProvider.java:103: error: reference not found
  [javadoc]      * @throws PersistenceException if insufficient or inconsistent
  [javadoc]        ^
  [javadoc] /Users/lukas/development/eclipselink/javax.persistence/src/javax/persistence/spi/PersistenceProviderResolverHolder.java:41: error: unexpected end tag: </code>
  [javadoc]  * environment, the default </code>PersistenceProviderResolver is used.
  [javadoc]             ^
  [javadoc] /Users/lukas/development/eclipselink/javax.persistence/src/javax/persistence/spi/PersistenceUnitInfo.java:35: error: element not closed: code
  [javadoc]      * <code>name</code> attribute in the <code>persistence.xml<code> file.
  [javadoc]^
  [javadoc] /Users/lukas/development/eclipselink/javax.persistence/src/javax/persistence/spi/PersistenceUnitInfo.java:35: error: element not closed: code
  [javadoc]      * <code>name</code> attribute in the <code>persistence.xml<code> file.
  [javadoc]           ^
  [javadoc] 19 errors
  [javadoc] 100 warnings

lukasj avatar Oct 12 '14 16:10 lukasj

  • Issue Imported From: https://github.com/javaee/jpa-spec/issues/94
  • Original Issue Raised By:@glassfishrobot
  • Original Issue Assigned To: @ldemichiel

lukasj avatar Aug 31 '18 16:08 lukasj

@glassfishrobot Commented Reported by @lukasj

lukasj avatar Oct 12 '14 16:10 lukasj

@glassfishrobot Commented @lukasj said: this is invalid, correct issue is #95

lukasj avatar Oct 12 '14 16:10 lukasj

@glassfishrobot Commented Issue-Links: clones JPA_SPEC-91

lukasj avatar Oct 12 '14 16:10 lukasj

@glassfishrobot Commented This issue was imported from java.net JIRA JPA_SPEC-94

lukasj avatar May 05 '17 06:05 lukasj

This looks like a good candidate for a community/end-user contribution. I would suggest marking it with "good first issue" and/or "help wanted". That will help facilitate recruiting people to contribute.

Reza Rahman Jakarta EE Ambassador, Author, Blogger, Speaker

Please note views expressed here are my own as an individual community member and do not reflect the views of my employer.

m-reza-rahman avatar Apr 30 '21 13:04 m-reza-rahman

Dupe of #95. Closing.

gavinking avatar Aug 08 '23 18:08 gavinking