Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0037959Openbravo ERPZ. Otherspublic2018-02-16 12:152018-03-02 08:43
shuehner 
shuehner 
highminorhave not tried
closedfixed 
5
 
3.0PR18Q2 
dmiguelez
Core
No
0037959: JDK 9: remove [dep-ann] warnings by adding the missing @Deprecated annotation (functional team code)
When building Openbravo with JDK 9, several [dep-ann] warnings appears:

warning: [dep-ann] deprecated item is not annotated with @Deprecated

Some of this warnings can be removed just by using the missing @Deprecated because it still makes sense to keep them as part of the API.
1. Build Openbravo with Java 9
  -> Check warnings
No tags attached.
blocks feature request 0037083 closed alostale support JDK 9 
Issue History
2018-02-16 12:15shuehnerNew Issue
2018-02-16 12:15shuehnerAssigned To => shuehner
2018-02-16 12:15shuehnerModules => Core
2018-02-16 12:15shuehnerTriggers an Emergency Pack => No
2018-02-16 12:15shuehnerIssue generated from0037941
2018-02-16 12:15shuehnerRelationship addedblocks 0037083
2018-02-16 12:54hgbotCheckin
2018-02-16 12:54hgbotNote Added: 0102462
2018-02-16 12:54hgbotStatusnew => resolved
2018-02-16 12:54hgbotResolutionopen => fixed
2018-02-16 12:54hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/37bf992c62e82a8c6be1aaac7cc4eec605724318 [^]
2018-02-16 12:54shuehnerReview Assigned To => dmiguelez
2018-03-02 08:43dmiguelezNote Added: 0102905
2018-03-02 08:43dmiguelezStatusresolved => closed
2018-03-02 08:43dmiguelezFixed in Version => 3.0PR18Q2

Notes
(0102462)
hgbot   
2018-02-16 12:54   
Repository: erp/devel/pi
Changeset: 37bf992c62e82a8c6be1aaac7cc4eec605724318
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Fri Feb 16 12:53:50 2018 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/37bf992c62e82a8c6be1aaac7cc4eec605724318 [^]

Fixed 37959. remove [dep-ann] jdk9 warnings by adding missing @Deprected

JDK9 adds above warning when something has @deprecated javadoc tag but is
imssing the @Deprecated annotation itself.

Add the later for several methods only having the former tag.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/MatchTransaction.java
M src/org/openbravo/erpCommon/ad_forms/DocLineCashVATReady_PaymentTransactionReconciliation.java
M src/org/openbravo/erpCommon/ad_forms/DocLine_FINFinAccTransaction.java
M src/org/openbravo/erpCommon/ad_forms/DocLine_FINPayment.java
M src/org/openbravo/erpCommon/ad_forms/ProductInfo.java
M src/org/openbravo/erpCommon/utility/CashVATUtil.java
M src/org/openbravo/financial/FinancialUtils.java
M src/org/openbravo/materialmgmt/ServicePriceUtils.java
---
(0102905)
dmiguelez   
2018-03-02 08:43   
Code Review + Testing Ok