Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045904
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2021-02-16 11:592024-01-24 14:54
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
PrioritynormalResolutionfixedFixed in VersionPR21Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionPR21Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0045904: ant generate.java.doc has new warnings by default when running with jdk17

Descriptionjavadoc from new jdk17 is slightly stricter by default and has some new warnings showing up by default.

Looks like this is known existing topics just more cases of those:

  [javadoc] /home/huehner/ob/branches/pi_jdk15_pg/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/PgFullTextSearchFunction.java:142: warning - invalid usage of tag {@link "https://www.postgresql.org/docs/current/textsearch-controls.html" [^]
  [javadoc] /home/huehner/ob/branches/pi_jdk15_pg/src/org/openbravo/costing/CostingAlgorithmAdjustmentImp.java:219: warning - @param argument "trx" is not a parameter name.
  [javadoc] /home/huehner/ob/branches/pi_jdk15_pg/src/org/openbravo/costing/CostingAlgorithmAdjustmentImp.java:221: warning - @param argument "adjustmentamt" is not a parameter name.
  [javadoc] /home/huehner/ob/branches/pi_jdk15_pg/src/org/openbravo/erpCommon/utility/poc/EmailInfo.java:170: warning - invalid usage of tag <
  [javadoc] /home/huehner/ob/branches/pi_jdk15_pg/src-test/src/org/openbravo/test/base/OBBaseTest.java:482: warning - invalid usage of tag &B
  [javadoc] /home/huehner/ob/branches/pi_jdk15_pg/src-test/src/org/openbravo/test/base/OBBaseTest.java:482: warning - invalid usage of tag &B
  [javadoc] /home/huehner/ob/branches/pi_jdk15_pg/src-test/src/org/openbravo/test/generalsetup/enterprise/organization/ADOrgPersistInfoSetReadyTest.java:36: warning - invalid usage of tag &B
  [javadoc] /home/huehner/ob/branches/pi_jdk15_pg/src-test/src/org/openbravo/test/generalsetup/enterprise/organization/ADOrgPersistInfoSetReadyTest.java:27: warning - invalid usage of tag &B
  [javadoc] /home/huehner/ob/branches/pi_jdk15_pg/src-test/src/org/openbravo/test/generalsetup/enterprise/organization/ADOrgPersistInfoSetReadyTest.java:91: warning - invalid usage of tag &B
  [javadoc] /home/huehner/ob/branches/pi_jdk15_pg/src-test/src/org/openbravo/test/generalsetup/enterprise/organization/ADOrgPersistInfoSetReadyTest.java:71: warning - invalid usage of tag &B
  [javadoc] /home/huehner/ob/branches/pi_jdk15_pg/src-test/src/org/openbravo/test/generalsetup/enterprise/organization/ADOrgPersistInfoSetReadyTest.java:27: warning - invalid usage of tag &B
  [javadoc] /home/huehner/ob/branches/pi_jdk15_pg/src-test/src/org/openbravo/test/generalsetup/enterprise/organization/ADOrgPersistInfoSetReadyTest.java:36: warning - invalid usage of tag &B
  [javadoc] /home/huehner/ob/branches/pi_jdk15_pg/src-test/src/org/openbravo/test/generalsetup/enterprise/organization/ADOrgPersistInfoSetReadyTest.java:71: warning - invalid usage of tag &B
  [javadoc] /home/huehner/ob/branches/pi_jdk15_pg/src-test/src/org/openbravo/test/generalsetup/enterprise/organization/ADOrgPersistInfoSetReadyTest.java:91: warning - invalid usage of tag &B
  [javadoc] Building index for all classes...
  [javadoc] /home/huehner/ob/branches/pi_jdk15_pg/src-test/src/org/openbravo/test/base/OBBaseTest.java:482: warning - invalid usage of tag &B
  [javadoc] /home/huehner/ob/branches/pi_jdk15_pg/src-test/src/org/openbravo/test/generalsetup/enterprise/organization/ADOrgPersistInfoSetReadyTest.java:36: warning - invalid usage of tag &B
  [javadoc] /home/huehner/ob/branches/pi_jdk15_pg/src-test/src/org/openbravo/test/generalsetup/enterprise/organization/ADOrgPersistInfoSetReadyTest.java:27: warning - invalid usage of tag &B
  [javadoc] /home/huehner/ob/branches/pi_jdk15_pg/src-test/src/org/openbravo/test/generalsetup/enterprise/organization/ADOrgPersistInfoSetReadyTest.java:91: warning - invalid usage of tag &B
  [javadoc] /home/huehner/ob/branches/pi_jdk15_pg/src-test/src/org/openbravo/test/generalsetup/enterprise/organization/ADOrgPersistInfoSetReadyTest.java:71: warning - invalid usage of tag &B
Steps To Reproduceset JAVA_HOME to openjdk17
ant generate.java.doc
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0054454 closedshuehner ant generate.java.doc has new warnings by default when running with jdk17 
blocks feature request 0045903 newTriage Platform Base Support JDK17 (LTS) 

-  Notes
(0126125)
hgbot (developer)
2021-02-16 15:18

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/315 [^]
(0126169)
hgbot (developer)
2021-02-19 06:28

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/315 [^]
(0126170)
hgbot (developer)
2021-02-19 06:28

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: a1e6805fcd3e5cd61588e1d1e67da3c4699aea98
Author: Stefan Huehner <stefan.huehner@openbravo.com>
Date: 2021-02-16T15:09:38+01:00
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/a1e6805fcd3e5cd61588e1d1e67da3c4699aea98 [^]

Related to ISSUE-45904: Remove Footer param from javadoc call

This parameter does no longer exist with jdk17 and causes a runtime
warning.
As it only adds a line at the bottom of the page we can just remove it
completely (as it was just an optional text line anway).

---
M build.xml
---
(0126171)
hgbot (developer)
2021-02-19 06:28

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 48a67f5437622bea1d426b622e0f86b8c2c3667a
Author: Stefan Huehner <stefan.huehner@openbravo.com>
Date: 2021-02-16T15:12:17+01:00
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/48a67f5437622bea1d426b622e0f86b8c2c3667a [^]

Fixes ISSUE-45904. Fix some javadoc syntax error which trigger warnings

Upcoming JDK17 is slightly stricter with checking javadoc syntax.
This fixes the few cases which were raised a warnings:
- Quote & as & as per html syntax
- Remove some @param tags where that parameter does not exist
- Do not use @link for external html links (as it is only for linking to
  other elements (use @see tag instead).

---
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/PgFullTextSearchFunction.java
M src-test/src/org/openbravo/test/base/OBBaseTest.java
M src-test/src/org/openbravo/test/generalsetup/enterprise/organization/ADOrgPersistInfoSetReadyTest.java
M src/org/openbravo/costing/CostingAlgorithmAdjustmentImp.java
M src/org/openbravo/erpCommon/utility/poc/EmailInfo.java
---

- Issue History
Date Modified Username Field Change
2021-02-16 11:59 shuehner New Issue
2021-02-16 11:59 shuehner Assigned To => platform
2021-02-16 11:59 shuehner Modules => Core
2021-02-16 11:59 shuehner Triggers an Emergency Pack => No
2021-02-16 11:59 shuehner Relationship added blocks 0045903
2021-02-16 12:10 shuehner Target Version => PR21Q2
2021-02-16 12:12 shuehner Assigned To platform => shuehner
2021-02-16 15:18 hgbot Note Added: 0126125
2021-02-19 06:28 hgbot Note Added: 0126169
2021-02-19 06:28 hgbot Note Added: 0126170
2021-02-19 06:28 hgbot Resolution open => fixed
2021-02-19 06:28 hgbot Status new => closed
2021-02-19 06:28 hgbot Fixed in Version => PR21Q2
2021-02-19 06:28 hgbot Note Added: 0126171
2024-01-24 14:54 shuehner Issue cloned 0054454
2024-01-24 14:54 shuehner Relationship added related to 0054454


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker