improvement for GEOT-4497, remove use of proprietary com.sun package classes
Merge pull request #234 from geosolutions-it/fix-jdk7

improvement for GEOT-4497, remove use of proprietary com.sun package cla...