Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0054454Openbravo ERPA. Platformpublic2024-01-24 14:542024-01-25 09:07
shuehner 
shuehner 
normalminorhave not tried
closedfixed 
5
 
PR24Q2 
Core
No
0054454: 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.

[javadoc] /srv/ci/workspace/try-full-pgsql/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/BaseActionHandler.java:70: warning: invalid input: '<'
  [javadoc] * parameters of the request and returns it as a Map<String, Object>
  [javadoc] ^
[javadoc] /srv/ci/workspace/try-full-pgsql/modules/org.openbravo.client.application/src/org/openbravo/client/application/report/BaseReportActionHandler.java:152: warning: @param argument "action" is not a parameter name.
set JAVA_HOME to openjdk17
ant generate.java.doc
No tags attached.
related to defect 0045904PR21Q2 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
2024-01-24 14:54shuehnerNew Issue
2024-01-24 14:54shuehnerAssigned To => shuehner
2024-01-24 14:54shuehnerModules => Core
2024-01-24 14:54shuehnerTriggers an Emergency Pack => No
2024-01-24 14:54shuehnerIssue generated from0045904
2024-01-24 14:54shuehnerRelationship addedrelated to 0045904
2024-01-24 14:55shuehnerRelationship addedblocks 0045903
2024-01-24 15:19hgbotNote Added: 0159717
2024-01-25 09:07hgbotNote Added: 0159751
2024-01-25 09:07hgbotResolutionopen => fixed
2024-01-25 09:07hgbotStatusnew => closed
2024-01-25 09:07hgbotFixed in Version => PR24Q2
2024-01-25 09:07hgbotNote Added: 0159752

Notes
(0159717)
hgbot   
2024-01-24 15:19   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1119 [^]
(0159751)
hgbot   
2024-01-25 09:07   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1119 [^]
(0159752)
hgbot   
2024-01-25 09:07   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 71d1e1666d37715a0186a200f5ef59cd5f17f93e
Author: Stefan Huehner <stefan.huehner@openbravo.com>
Date: 25-01-2024 08:06:04
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/71d1e1666d37715a0186a200f5ef59cd5f17f93e [^]

Fixed ISSUE-54454: Fix a couple of javadoc warnings coming up on jdk17

When running "ant generate.java.doc" as done in CI with jdk17 a few more
warnings come up by default.

Fix those up (and a few simple more simple cases).

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/report/BaseReportActionHandler.java
M modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/BaseActionHandler.java
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ADTreeDatasourceService.java
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/LinkToParentTreeDatasourceService.java
M src-test/src/org/openbravo/test/materialMgmt/invoiceFromShipment/TestUtils.java
---