Openbravo Issue Tracking System - Retail Modules | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0045244 | Retail Modules | Web POS Hardware Manager | public | 2020-10-19 12:35 | 2020-10-22 17:24 | |||||||
| Reporter | shuehner | |||||||||||
| Assigned To | cberner | |||||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | Fixed in Version | RR21Q1 | ||||||||||
| Merge Request Status | approved | |||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | OBPS | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0045244: hwmanager deprecation warnings when compiling with java11: newInstance() in Class has been deprecated | |||||||||||
| Description | Hardware manager still has some deprecation warnings left unfixed when compiling with Java>8 [javac] org.openbravo.retail.poshwmanager.sources/project/src/com/openbravo/pos/printer/escpos/USBDeviceList.java:151: warning: [deprecation] newInstance() in Class has been deprecated [javac] .newInstance()); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] org.openbravo.retail.poshwmanager.sources/project/src/com/openbravo/pos/printer/escpos/USBDeviceList.java:158: warning: [deprecation] newInstance() in Class has been deprecated [javac] .newInstance()); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] org.openbravo.retail.poshwmanager.sources/project/src/com/openbravo/pos/printer/escpos/USBDeviceList.java:165: warning: [deprecation] newInstance() in Class has been deprecated [javac] .newInstance()); | |||||||||||
| Steps To Reproduce | compile hardware manager with Java11 To get detailed warning output on commandline the following can be used ant clean compile -Djavac.compilerargs="-Xlint:deprecation" | |||||||||||
| Proposed Solution | 38115 has example on how this can be fixed | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2020-10-19 12:35 | shuehner | New Issue | ||||||||||
| 2020-10-19 12:35 | shuehner | Assigned To | => Retail | |||||||||
| 2020-10-19 12:35 | shuehner | OBNetwork customer | => No | |||||||||
| 2020-10-19 12:35 | shuehner | Triggers an Emergency Pack | => No | |||||||||
| 2020-10-19 12:35 | shuehner | Relationship added | blocks 0038130 | |||||||||
| 2020-10-19 12:37 | shuehner | Issue cloned | 0045245 | |||||||||
| 2020-10-19 12:37 | shuehner | Relationship deleted | blocks 0038130 | |||||||||
| 2020-10-19 12:37 | shuehner | Relationship added | blocks 0038337 | |||||||||
| 2020-10-19 14:45 | shuehner | OBNetwork customer | No => OBPS | |||||||||
| 2020-10-19 14:45 | shuehner | Resolution time | => 1606777200 | |||||||||
| 2020-10-21 17:16 | cberner | Assigned To | Retail => cberner | |||||||||
| 2020-10-21 17:22 | hgbot | Merge Request Status | => open | |||||||||
| 2020-10-21 17:22 | hgbot | Note Added: 0123827 | ||||||||||
| 2020-10-22 07:10 | hgbot | Merge Request Status | open => approved | |||||||||
| 2020-10-22 09:31 | hgbot | Resolution | open => fixed | |||||||||
| 2020-10-22 09:31 | hgbot | Status | new => closed | |||||||||
| 2020-10-22 09:31 | hgbot | Fixed in Version | => RR21Q1 | |||||||||
| 2020-10-22 09:31 | hgbot | Note Added: 0123842 | ||||||||||
| 2020-10-22 09:31 | hgbot | Note Added: 0123843 | ||||||||||
| 2020-10-22 17:08 | hgbot | Note Added: 0123881 | ||||||||||
| 2020-10-22 17:24 | hgbot | Note Added: 0123885 | ||||||||||
| 2020-10-22 17:24 | hgbot | Note Added: 0123886 | ||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||