From: Andreas Beeker Date: Sat, 16 Mar 2019 20:13:55 +0000 (+0000) Subject: Use JPG source, otherwise we have problems with Alpha conversion in OpenJDK. X-Git-Tag: REL_4_1_0~43 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=aa438b6f2db5dc503d772a8d1e1a9036e5d6fadd;p=poi.git Use JPG source, otherwise we have problems with Alpha conversion in OpenJDK. https://stackoverflow.com/questions/3432388/imageio-not-able-to-write-a-jpeg-file git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855668 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java index 6a49b32e0e..7153e3f859 100644 --- a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java +++ b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java @@ -2932,7 +2932,7 @@ public final class TestBugs extends BaseTestBugzillaIssues { Workbook wb = HSSFTestDataSamples.openSampleWorkbook("46515.xls"); // Get structure from webservice - String urlString = "http://poi.apache.org/images/project-header.png"; + String urlString = "http://poi.apache.org/components/spreadsheet/images/calendar.jpg"; URL structURL = new URL(urlString); BufferedImage bimage; try {