Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038338Retail ModulesWeb POS Hardware Managerpublic2018-04-11 18:142018-05-04 15:20
gorka_gil 
gorka_gil 
urgentmajoralways
closedfixed 
5
 
RR18Q2RR18Q2 
marvintm
No
0038338: make hardware manager compatible with java 9 - 11
hardware manager don't compile with java 9 nor java 11
 - hg clone https://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager.sources [^]
 - cd org.openbravo.retail.poshwmanager.sources
 - export JAVA_HOME=path_to_a_java9
 - and clean jar
No tags attached.
blocks defect 0038337 closed gorka_gil make hardware manager compatible with java 9 - 11 
Issue History
2018-04-11 18:14gorka_gilTypedefect => backport
2018-04-11 18:14gorka_gilTarget Version => RR18Q2
2018-04-13 11:33hgbotCheckin
2018-04-13 11:33hgbotNote Added: 0103874
2018-04-13 11:33hgbotStatusscheduled => resolved
2018-04-13 11:33hgbotResolutionopen => fixed
2018-04-13 11:33hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR18Q2/org.openbravo.retail.poshwmanager/rev/621c141c215fab03c674a0567f24c31e8b72231a [^]
2018-04-13 11:34hgbotCheckin
2018-04-13 11:34hgbotNote Added: 0103875
2018-04-13 11:34hgbotFixed in SCM revisionhttp://code.openbravo.com/retail/backports/3.0RR18Q2/org.openbravo.retail.poshwmanager/rev/621c141c215fab03c674a0567f24c31e8b72231a [^] => http://code.openbravo.com/retail/backports/3.0RR18Q2/org.openbravo.retail.poshwmanager.sources/rev/331d8299f1af3244221b097f49e456775a4e0845 [^]
2018-05-04 15:20marvintmReview Assigned To => marvintm
2018-05-04 15:20marvintmStatusresolved => closed
2018-05-04 15:20marvintmFixed in Version => RR18Q2

Notes
(0103874)
hgbot   
2018-04-13 11:33   
Repository: retail/backports/3.0RR18Q2/org.openbravo.retail.poshwmanager
Changeset: 621c141c215fab03c674a0567f24c31e8b72231a
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Fri Apr 13 11:26:43 2018 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR18Q2/org.openbravo.retail.poshwmanager/rev/621c141c215fab03c674a0567f24c31e8b72231a [^]

Fixes issue 38338: make hardware manager compatible with java 9 - 11

Tested in jdk9 and jdk11ea8

- Change deprecated(jdk9)/deleted(jdk11) function to convert from hex to byte in UnicodeTranslator.java
- Fix Integer, Double, Byte, Float instantiation in many java's
- Delete TicketParserJSON.java since is not used
- Removed the option to play sounds in the hardware manager since is not used and the java applet is deprecated

---
M bin/poshw.jar
M bin/rev.id
---
(0103875)
hgbot   
2018-04-13 11:34   
Repository: retail/backports/3.0RR18Q2/org.openbravo.retail.poshwmanager.sources
Changeset: 331d8299f1af3244221b097f49e456775a4e0845
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Fri Apr 13 11:30:33 2018 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR18Q2/org.openbravo.retail.poshwmanager.sources/rev/331d8299f1af3244221b097f49e456775a4e0845 [^]

Fixes issue 38338: make hardware manager compatible with java 9 - 11

Tested in jdk9 and jdk11ea8

- Change deprecated(jdk9)/deleted(jdk11) function to convert from hex to byte in UnicodeTranslator.java
- Fix Integer, Double, Byte, Float instantiation in many java's
- Delete TicketParserJSON.java since is not used
- Removed the option to play sounds in the hardware manager since is not used and the java applet is deprecated

---
M project/src/com/openbravo/pos/printer/TicketParser.java
M project/src/com/openbravo/pos/printer/escpos/Codes.java
M project/src/com/openbravo/pos/printer/escpos/CodesWincor.java
M project/src/com/openbravo/pos/printer/escpos/UnicodeTranslator.java
M project/src/com/openbravo/pos/printjrxml/JRJsonDatasource.java
M project/src/com/openbravo/pos/scale/GenericContinuousScale.java
M project/src/com/openbravo/pos/scale/GenericScale.java
M project/src/com/openbravo/pos/scale/ScaleDialog1.java
M project/src/com/openbravo/pos/scale/ScaleFake.java
M project/src/com/openbravo/pos/scale/ScaleSamsungEsp.java
M project/src/com/openbravo/pos/scale/ScaleSerial.java
---