Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0038132 | Openbravo ERP | A. Platform | public | 2018-03-14 11:18 | 2022-02-01 08:08 |
|
Reporter | jarmendariz | |
Assigned To | Triage Platform Base | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | acknowledged | Resolution | open | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0038132: Replace deprecated isAccesible() with canAccess() introduced in JDK9 |
Description | Starting from JDK9, AccesibleObject.isAccesible() was marked as deprecated in favor of canAccess(Object), which was introduced in JDK9 as well. [1]
This replacement can be done once the minimum Java version supported is set to 9.
[1] https://docs.oracle.com/javase/9/docs/api/java/lang/reflect/AccessibleObject.html#isAccessible-- [^] |
Steps To Reproduce | See above |
Proposed Solution | Replace isAccesible() with the new canAccess(Object), taking care of handling the exceptions thrown by the latter method. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0038131 | | closed | jarmendariz | Remove deprecated message for AccessibleObject.isAccesible | related to | feature request | 0037083 | | closed | alostale | support JDK 9 |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-03-14 11:18 | jarmendariz | New Issue | |
2018-03-14 11:18 | jarmendariz | Assigned To | => platform |
2018-03-14 11:18 | jarmendariz | Modules | => Core |
2018-03-14 11:18 | jarmendariz | Triggers an Emergency Pack | => No |
2018-03-14 11:19 | jarmendariz | Relationship added | related to 0038131 |
2018-03-14 11:19 | jarmendariz | Summary | Replace deprecated isAccesible() with canAccess() => Replace deprecated isAccesible() with canAccess() introduced in JDK9 |
2018-03-14 19:49 | caristu | Relationship added | related to 0037083 |
2018-04-03 12:12 | alostale | Note Added: 0103640 | |
2018-04-03 12:12 | alostale | Status | new => acknowledged |
2018-04-03 12:12 | alostale | Type | defect => design defect |
2022-02-01 08:08 | alostale | Assigned To | platform => Triage Platform Base |