Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0045904Openbravo ERPA. Platformpublic2021-02-16 11:592024-01-24 14:54
shuehner 
shuehner 
normalminorhave not tried
closedfixed 
5
 
PR21Q2PR21Q2 
Core
No
0045904: ant generate.java.doc has new warnings by default when running with jdk17
javadoc 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
set JAVA_HOME to openjdk17
ant generate.java.doc
No tags attached.
related to defect 0054454 closed shuehner ant generate.java.doc has new warnings by default when running with jdk17 
blocks feature request 0045903 new Triage Platform Base Support JDK17 (LTS) 
Issue History
2021-02-16 11:59shuehnerNew Issue
2021-02-16 11:59shuehnerAssigned To => platform
2021-02-16 11:59shuehnerModules => Core
2021-02-16 11:59shuehnerTriggers an Emergency Pack => No
2021-02-16 11:59shuehnerRelationship addedblocks 0045903
2021-02-16 12:10shuehnerTarget Version => PR21Q2
2021-02-16 12:12shuehnerAssigned Toplatform => shuehner
2021-02-16 15:18hgbotNote Added: 0126125
2021-02-19 06:28hgbotNote Added: 0126169
2021-02-19 06:28hgbotNote Added: 0126170
2021-02-19 06:28hgbotResolutionopen => fixed
2021-02-19 06:28hgbotStatusnew => closed
2021-02-19 06:28hgbotFixed in Version => PR21Q2
2021-02-19 06:28hgbotNote Added: 0126171
2024-01-24 14:54shuehnerIssue cloned0054454
2024-01-24 14:54shuehnerRelationship addedrelated to 0054454

Notes
(0126125)
hgbot   
2021-02-16 15:18   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/315 [^]
(0126169)
hgbot   
2021-02-19 06:28   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/315 [^]
(0126170)
hgbot   
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   
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
---