From Hengsin link I go to "Leak analysis respects well-known utilities" of
http://archive.eclipse.org/eclipse/downloads/drops4/R-4.3-201306052000/news/eclipse-news-part2.html
so play a bit with org.apache.commons.dbutils.DbUtils
1. function DbUtils.closeQuietly is save effect of DB.close so can safely replace
2. in case full library commons-dbutils is overweight, we can create class org.apache.commons.dbutils.DbUtils inside org.adempiere.base and implement by ourself so don't get anymore dependency
eclipse check for "Fully Qualified Names" + function signature to add white list
conclude i suggest to implement like below:
1. create plulgin apache.fake
2. create class org.apache.commons.dbutils.DbUtils and export package org.apache.commons.dbutils
3. any plugin use DB.close will import package org.apache.commons.dbutils
4. replace DB.close by DbUtils.closeQuietly
so up to implementer, can use ourself implement or full implement form library of apache.