I am using jersey client
for rest calls. Imports for my code are:
import com.sun.jersey.api.client.Client;
import com.sun.jersey.api.client.ClientResponse;
import com.sun.jersey.api.client.WebResource;
Everything is working fine. I am using Sonar
for checking my Code quality.
sonar is showing a major issue for:
Classes from "com.sun." and "sun." packages should not be used
Is this actually bad practice to use classes from sun?
If yes, what are the alternatives?