bugs.java.com
Bug ID: JDK-4267294 InputStream must be created in getInputStream...
Create a multipart mail message comprising a text part and a pdf stream part. If the InputStream is created in one object and passed into the DataSource, it throws an exception trying to read the InputStream.