< prev index next >

test/javax/imageio/plugins/shared/ImageWriterCompressionTest.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 51,62 **** // ignore jpg (fail): // Caused by: javax.imageio.IIOException: Invalid argument to native writeImage private static final Set<String> IGNORE_FILE_SUFFIXES = new HashSet<String>(Arrays.asList(new String[] { "bmp", "gif", ! "jpg", "jpeg", ! // "tif", "tiff" } )); public static void main(String[] args) { Locale.setDefault(Locale.US); --- 51,61 ---- // ignore jpg (fail): // Caused by: javax.imageio.IIOException: Invalid argument to native writeImage private static final Set<String> IGNORE_FILE_SUFFIXES = new HashSet<String>(Arrays.asList(new String[] { "bmp", "gif", ! "jpg", "jpeg" } )); public static void main(String[] args) { Locale.setDefault(Locale.US);
< prev index next >