Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038337Retail ModulesWeb POS Hardware Managerpublic2018-04-11 18:142020-10-19 12:37
gorka_gil 
gorka_gil 
urgentmajoralways
closedfixed 
5
 
RR18Q3 
marvintm
No
0038337: 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.
related to defect 0037966 closed shuehner JDK 9: fix new BigDecimal related deprecation warnigns 
depends on backport 0038338RR18Q2 closed gorka_gil make hardware manager compatible with java 9 - 11 
depends on defect 0045244 closed cberner hwmanager deprecation warnings when compiling with java11: newInstance() in Class has been deprecated 
depends on defect 0045245 closed cberner hwmanager deprecation warnings when compiling with java11: finalize() in Object has been deprecated 
related to defect 0045274 closed cberner hwmanager Raise minimum supported version from Java 8 to Java 11 
Issue History
2018-04-11 18:14gorka_gilNew Issue
2018-04-11 18:14gorka_gilAssigned To => gorka_gil
2018-04-11 18:14gorka_gilTriggers an Emergency Pack => No
2018-04-11 18:14gorka_gilStatusnew => scheduled
2018-04-11 18:16gorka_gilRelationship addedrelated to 0037966
2018-04-12 16:09gorka_gilNote Added: 0103848
2018-04-13 11:23hgbotCheckin
2018-04-13 11:23hgbotNote Added: 0103872
2018-04-13 11:23hgbotStatusscheduled => resolved
2018-04-13 11:23hgbotResolutionopen => fixed
2018-04-13 11:23hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager/rev/6bba8946e0418820f7503350d725a5cce21a0316 [^]
2018-04-13 11:23hgbotCheckin
2018-04-13 11:23hgbotNote Added: 0103873
2018-04-13 11:23hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager/rev/6bba8946e0418820f7503350d725a5cce21a0316 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager.sources/rev/66eee80c7ed2beb018cc58670c42785913e85659 [^]
2018-05-04 15:19marvintmReview Assigned To => marvintm
2018-05-04 15:19marvintmStatusresolved => closed
2018-05-04 15:19marvintmFixed in Version => RR18Q3
2020-10-19 12:37shuehnerRelationship addeddepends on 0045244
2020-10-19 12:37shuehnerRelationship addeddepends on 0045245
2020-10-22 10:19cbernerRelationship addedrelated to 0045274

Notes
(0103848)
gorka_gil   
2018-04-12 16:09   
tested version openjdk 11ea8
(0103872)
hgbot   
2018-04-13 11:23   
Repository: erp/pmods/org.openbravo.retail.poshwmanager
Changeset: 6bba8946e0418820f7503350d725a5cce21a0316
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Thu Apr 12 17:42:21 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager/rev/6bba8946e0418820f7503350d725a5cce21a0316 [^]

Fixes issue 38337: 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
---
(0103873)
hgbot   
2018-04-13 11:23   
Repository: erp/pmods/org.openbravo.retail.poshwmanager.sources
Changeset: 66eee80c7ed2beb018cc58670c42785913e85659
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Thu Apr 12 17:01:54 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager.sources/rev/66eee80c7ed2beb018cc58670c42785913e85659 [^]

Fixes issue 38337: 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
R project/src/com/openbravo/pos/printer/TicketParserJSON.java
---