Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038338
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POS Hardware Managermajoralways2018-04-11 18:142018-05-04 15:20
Reportergorka_gilView Statuspublic 
Assigned Togorka_gil 
PriorityurgentResolutionfixedFixed in VersionRR18Q2
StatusclosedFix in branchFixed in SCM revision331d8299f1af
ProjectionnoneETAnoneTarget VersionRR18Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038338: make hardware manager compatible with java 9 - 11

Descriptionhardware manager don't compile with java 9 nor java 11
Steps To Reproduce - 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0038337 closedgorka_gil make hardware manager compatible with java 9 - 11 

-  Notes
(0103874)
hgbot (developer)
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 (developer)
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
---

- Issue History
Date Modified Username Field Change
2018-04-11 18:14 gorka_gil Type defect => backport
2018-04-11 18:14 gorka_gil Target Version => RR18Q2
2018-04-13 11:33 hgbot Checkin
2018-04-13 11:33 hgbot Note Added: 0103874
2018-04-13 11:33 hgbot Status scheduled => resolved
2018-04-13 11:33 hgbot Resolution open => fixed
2018-04-13 11:33 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR18Q2/org.openbravo.retail.poshwmanager/rev/621c141c215fab03c674a0567f24c31e8b72231a [^]
2018-04-13 11:34 hgbot Checkin
2018-04-13 11:34 hgbot Note Added: 0103875
2018-04-13 11:34 hgbot Fixed in SCM revision http://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:20 marvintm Review Assigned To => marvintm
2018-05-04 15:20 marvintm Status resolved => closed
2018-05-04 15:20 marvintm Fixed in Version => RR18Q2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker