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


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

Re: Java 9 issues

Newsgroups comp.lang.java.programmer
Date 2017-10-03 13:38 -0700
References (4 earlier) <or0jqc$un1$1@gioia.aioe.org> <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>
Message-ID <4656bf2d-d22d-46d1-bf82-970c1075a1ba@googlegroups.com> (permalink)
Subject Re: Java 9 issues
From Eric Douglas <e.d.programmer@gmail.com>

Show all headers | View raw


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.
> 
> Best regards,
> Patrick

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.  It's annoying if we have to include the jar as is and write logs every time we render an image, and it's slightly less annoying to download the source into a custom project to get rid of the logging.

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