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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0038132
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. Platformminorhave not tried2018-03-14 11:182022-02-01 08:08
ReporterjarmendarizView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusacknowledgedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version9
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0038132: Replace deprecated isAccesible() with canAccess() introduced in JDK9

DescriptionStarting 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 ReproduceSee above
Proposed SolutionReplace isAccesible() with the new canAccess(Object), taking care of handling the exceptions thrown by the latter method.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0038131 closedjarmendariz Remove deprecated message for AccessibleObject.isAccesible 
related to feature request 0037083 closedalostale support JDK 9 

-  Notes
(0103640)
alostale (manager)
2018-04-03 12:12

Moved to design defect as it cannot be addressed until minimum is raised to JDK9.

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker