Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #37550

Re: Java 9 issues

From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: Java 9 issues
Date 2017-10-03 19:45 -0400
Organization Aioe.org NNTP Server
Message-ID <or17ec$1vpn$1@gioia.aioe.org> (permalink)
References (5 earlier) <or0kck$dr2$1@newsreader4.netcologne.de> <or0otg$17g9$1@gioia.aioe.org> <8ec36671-ecc3-48f0-908e-3fd4884761eb@googlegroups.com> <or0rs6$jel$1@newsreader4.netcologne.de> <4656bf2d-d22d-46d1-bf82-970c1075a1ba@googlegroups.com>

Show all headers | View raw


On 10/3/2017 4:38 PM, Eric Douglas wrote:
> On Tuesday, October 3, 2017 at 4:27:58 PM UTC-4, Patrick Roemer wrote:
>> javax.imageio is part of the JDK, supports I/O for some image formats
>> and exposes a plugin/SPI mechanism for additional format providers.
>> jai-imageio is such a 3rd party provider supporting additional image
>> formats. javax.imageio has added core support for some of those formats
>> since, other formats still require 3rd party plugins like jai-imageio.
>>
>> The bug is in jai-imageio and occurs during service registration, i.e.
>> it will be triggered even if you never use these additional formats -
>> just having the jar on the path suffices. The "fix" in javax.imageio
>> just assumes that all exceptions (and errors) occurring during this
>> phase are harmless and can be "handled" by logging.
> 
> I tested a jpg and a png no problems without the extra jar, not sure
> what format we may have initially included the jar for.  So I'll need
> to find the list of formats supported by javax.imageio and a list
> that still require jai.
https://docs.oracle.com/javase/9/docs/api/javax/imageio/ImageIO.html#getReaderFormatNames--

https://docs.oracle.com/javase/9/docs/api/javax/imageio/ImageIO.html#getWriterFormatNames--

may be able to help.

Arne

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-03 08:12 -0700
  Re: Java 9 issues Arne Vajhøj <arne@vajhoej.dk> - 2017-10-03 11:33 -0400
  Re: Java 9 issues Patrick Roemer <sangamon@netcologne.de> - 2017-10-03 17:43 +0200
    Re: Java 9 issues Arne Vajhøj <arne@vajhoej.dk> - 2017-10-03 12:07 -0400
      Re: Java 9 issues Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2017-10-03 11:20 -0500
      Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-03 10:19 -0700
        Re: Java 9 issues Arne Vajhøj <arne@vajhoej.dk> - 2017-10-03 14:10 -0400
          Re: Java 9 issues Patrick Roemer <sangamon@netcologne.de> - 2017-10-03 20:20 +0200
            Re: Java 9 issues Arne Vajhøj <arne@vajhoej.dk> - 2017-10-03 15:37 -0400
              Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-03 12:52 -0700
                Re: Java 9 issues Patrick Roemer <sangamon@netcologne.de> - 2017-10-03 22:27 +0200
                Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-03 13:38 -0700
                Re: Java 9 issues Patrick Roemer <sangamon@netcologne.de> - 2017-10-03 22:55 +0200
                Re: Java 9 issues Arne Vajhøj <arne@vajhoej.dk> - 2017-10-03 19:45 -0400
                Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-04 05:18 -0700
                Re: Java 9 issues Arne Vajhøj <arne@vajhoej.dk> - 2017-10-04 20:04 -0400
                Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-05 06:10 -0700
                Re: Java 9 issues Martin Gregorie <martin@address-in-sig.invalid> - 2017-10-05 11:06 +0000
                Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-05 06:09 -0700
                Re: Java 9 issues Martin Gregorie <martin@address-in-sig.invalid> - 2017-10-05 18:23 +0000
          Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-03 12:03 -0700
  Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-03 13:34 -0700
    Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-03 13:49 -0700
      Re: Java 9 issues Arne Vajhøj <arne@vajhoej.dk> - 2017-10-03 19:39 -0400
    Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-03 14:01 -0700
    Re: Java 9 issues Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-10-03 17:36 -0400
      Re: Java 9 issues Eric Douglas <e.d.programmer@gmail.com> - 2017-10-04 07:51 -0700
        Re: Java 9 issues Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-10-04 11:20 -0400
          Re: Java 9 issues v_borchert@despammed.com (Volker Borchert) - 2017-10-04 20:14 +0000
    Re: Java 9 issues Arne Vajhøj <arne@vajhoej.dk> - 2017-10-03 19:23 -0400

csiph-web