Openbravo Issue Tracking System - Modules
View Issue Details
0038095ModulesDB Pool Logging Utilitiespublic2018-03-09 14:332018-03-14 19:32
jarmendariz 
jarmendariz 
normalminorhave not tried
closedfixed 
5
 
 
caristu
0038095: Handle new Exceptions thrown by ExternalConnectionPool.getInstance
Due to changes to remove warnings and deprecations in JDK9, ExternalConnectionPool.getInstance (used in MeasurePerformance.java) throws an instance of ReflectiveOperationException. This should be handled or explicitly thrown by the method that uses it.
See above
Add ReflectiveOperationException to the Exceptions thrown by setInterceptor()
No tags attached.
related to defect 0037943 closed jarmendariz Openbravo ERP JDK 9: remove [deprecation] newInstance() in Class warnings 
related to defect 0038000 closed jarmendariz Openbravo ERP API change for ExternalConnectionPool.getInstance(String) method due to [deprecation] newInstance() warning removal 
Issue History
2018-03-09 14:33jarmendarizNew Issue
2018-03-09 14:33jarmendarizAssigned To => platform
2018-03-09 14:34jarmendarizRelationship addedrelated to 0037943
2018-03-09 14:41jarmendarizStatusnew => scheduled
2018-03-13 09:49hgbotCheckin
2018-03-13 09:49hgbotNote Added: 0103180
2018-03-13 09:49hgbotStatusscheduled => resolved
2018-03-13 09:49hgbotResolutionopen => fixed
2018-03-13 09:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.util.db/rev/58e71342e8e0b1ab7dd4d871b8d0e75d98375dc3 [^]
2018-03-13 09:51jarmendarizReview Assigned To => caristu
2018-03-14 19:18caristuRelationship addedrelated to 0038000
2018-03-14 19:30caristuNote Added: 0103254
2018-03-14 19:30caristuStatusresolved => closed
2018-03-14 19:31caristuNote Edited: 0103254bug_revision_view_page.php?bugnote_id=0103254#r16848
2018-03-14 19:32caristuAssigned Toplatform => jarmendariz

Notes
(0103180)
hgbot   
2018-03-13 09:49   
Repository: erp/mods/org.openbravo.util.db
Changeset: 58e71342e8e0b1ab7dd4d871b8d0e75d98375dc3
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Fri Mar 09 14:58:16 2018 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.util.db/rev/58e71342e8e0b1ab7dd4d871b8d0e75d98375dc3 [^]

Fixed bug 38095: Handle new Exception thrown by newInstance

JDK 9 fixed replaced ExternalConnectionPool.getInstance exceptions
to a ReflectiveOperationException. Modified the setInterceptor method
to explicitly throw this Exception.

---
M src-test/org/openbravo/util/db/MeasurePerformance.java
---
(0103254)
caristu   
2018-03-14 19:30   
(edited on: 2018-03-14 19:31)
Reviewed. Fix included in version 0.1.300[1].

[1] http://centralrepository.openbravo.com/openbravo/org.openbravo.forge.ui/ForgeModuleVersionDetail?moduleVersionId=0BFB358D3083426CA3164A050417E4EB [^]