java.com
Java 8 release changes
getService(String type, String algorithm) calls. See JDK-8254711 ... For example the argument "C:\\Program Files\" , would be seen by the command ...
getService(String type, String algorithm) calls. See JDK-8254711 ... For example the argument "C:\\Program Files\" , would be seen by the command ...
It's an error in java.lang.String source code which is the same for all JDK distributions.I have created a more simple example class which demonstrates this behaviour very clearly. STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : See bug ID 4637640.
So I have implemented my own class and passed the contentType and InputStream object in the constructor: The folowing is an example to demonstrate the problem. public class MyDataSource implements java.activation.DataSource { private String contentType...