Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038335Openbravo ERP01. General setuppublic2018-04-11 16:572018-04-16 18:02
AugustoMauch 
AugustoMauch 
normalminorhave not tried
closedfixed 
5
 
 
caristu
Core
No
0038335: Fix Java 9 warnings in org.openbravo.utility.multiplebpselector module
There are two Java 9 eclipse compile warnings in the BusinessPartnerSelectorMULTIBP class of the org.openbravo.utility.multiplebpselector module.

The constructor Integer(String) is deprecated
- Install the org.openbravo.utility.multiplebpselector module: https://code.openbravo.com/erp/mods/org.openbravo.utility.multiplebpselector [^]
- Build Openbravo with Java 9
- Check warnings
No tags attached.
related to feature request 0037083 closed alostale support JDK 9 
Issue History
2018-04-11 16:57AugustoMauchNew Issue
2018-04-11 16:57AugustoMauchAssigned To => AugustoMauch
2018-04-11 16:57AugustoMauchModules => Core
2018-04-11 16:57AugustoMauchTriggers an Emergency Pack => No
2018-04-11 17:10hgbotCheckin
2018-04-11 17:10hgbotNote Added: 0103826
2018-04-11 17:10hgbotCheckin
2018-04-11 17:10hgbotNote Added: 0103827
2018-04-11 17:10hgbotStatusnew => resolved
2018-04-11 17:10hgbotResolutionopen => fixed
2018-04-11 17:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.utility.multiplebpselector/rev/b463e9fb5285abaf87aa31c64d55ff293a503fab [^]
2018-04-11 17:22AugustoMauchReview Assigned To => caristu
2018-04-11 18:29AugustoMauchRelationship addedrelated to 0037083
2018-04-16 18:02caristuNote Added: 0103914
2018-04-16 18:02caristuStatusresolved => closed
2018-04-18 11:10caristuNote Edited: 0103914bug_revision_view_page.php?bugnote_id=0103914#r17025

Notes
(0103826)
hgbot   
2018-04-11 17:10   
Repository: erp/mods/org.openbravo.utility.multiplebpselector
Changeset: c82d76380fc28240ae03e976a6718768bc600bc7
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Apr 11 16:59:35 2018 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.utility.multiplebpselector/rev/c82d76380fc28240ae03e976a6718768bc600bc7 [^]

Related with issue 38335: Adds license and fixes java format

---
M src/org/openbravo/utility/multiplebpselector/BusinessPartnerSelectorMULTIBP.java
---
(0103827)
hgbot   
2018-04-11 17:10   
Repository: erp/mods/org.openbravo.utility.multiplebpselector
Changeset: b463e9fb5285abaf87aa31c64d55ff293a503fab
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Apr 11 17:10:15 2018 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.utility.multiplebpselector/rev/b463e9fb5285abaf87aa31c64d55ff293a503fab [^]

Fixes issue 38335: Replaces new Integer with Integer.parseInt

new Integer(stringValue).intValue has been replaced with Integer.parseInt(stringValue), which returns a primitive int value.

---
M src/org/openbravo/utility/multiplebpselector/BusinessPartnerSelectorMULTIBP.java
---
(0103914)
caristu   
2018-04-16 18:02   
(edited on: 2018-04-18 11:10)
Reviewed. Fixed in version 1.0.100[1].

[1] http://centralrepository.openbravo.com/openbravo/org.openbravo.forge.ui/ForgeModuleVersionDetail?moduleVersionId=98645A2E379A4A7CA18CB29E66150020 [^]