Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038132Openbravo ERPA. Platformpublic2018-03-14 11:182022-02-01 08:08
jarmendariz 
Triage Platform Base 
normalminorhave not tried
acknowledgedopen 
5
 
 
Core
No
0038132: Replace deprecated isAccesible() with canAccess() introduced in JDK9
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-- [^]
See above
Replace isAccesible() with the new canAccess(Object), taking care of handling the exceptions thrown by the latter method.
No tags attached.
related to defect 0038131 closed jarmendariz Remove deprecated message for AccessibleObject.isAccesible 
related to feature request 0037083 closed alostale support JDK 9 
Issue History
2018-03-14 11:18jarmendarizNew Issue
2018-03-14 11:18jarmendarizAssigned To => platform
2018-03-14 11:18jarmendarizModules => Core
2018-03-14 11:18jarmendarizTriggers an Emergency Pack => No
2018-03-14 11:19jarmendarizRelationship addedrelated to 0038131
2018-03-14 11:19jarmendarizSummaryReplace deprecated isAccesible() with canAccess() => Replace deprecated isAccesible() with canAccess() introduced in JDK9
2018-03-14 19:49caristuRelationship addedrelated to 0037083
2018-04-03 12:12alostaleNote Added: 0103640
2018-04-03 12:12alostaleStatusnew => acknowledged
2018-04-03 12:12alostaleTypedefect => design defect
2022-02-01 08:08alostaleAssigned Toplatform => Triage Platform Base

Notes
(0103640)
alostale   
2018-04-03 12:12   
Moved to design defect as it cannot be addressed until minimum is raised to JDK9.