Java 8 release changes
... command incorrectly and may cause the command to fail. For example the argument "C:\\Program Files\" , would be seen by the command with extra double-quotes.
... command incorrectly and may cause the command to fail. For example the argument "C:\\Program Files\" , would be seen by the command with extra double-quotes.
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.
In this case, use this command line option: -tag example:a:"Example:" This takes the text from an @example tag in all (a) doc comments (field, method. constructor, class, package) and outputs it with the heading "Example
5.1.11 defines _string conversion_ for primitive types in terms of a wrapper class constructor call followed by a 'toString' call. The wrapper class constructors are now deprecated for removal, and JLS should not depend on them.
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...