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


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

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 15:37 -0400
Organization Aioe.org NNTP Server
Message-ID <or0otg$17g9$1@gioia.aioe.org> (permalink)
References (1 earlier) <or0b6o$82v$1@newsreader4.netcologne.de> <or0ckk$hmn$1@gioia.aioe.org> <3648a011-9931-4696-ab90-25a3009095bb@googlegroups.com> <or0jqc$un1$1@gioia.aioe.org> <or0kck$dr2$1@newsreader4.netcologne.de>

Show all headers | View raw


On 10/3/2017 2:20 PM, Patrick Roemer wrote:
> Responding to Arne Vajhøj:
>>>> http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/25066225d892
>>>>
>>>> the fix seems to have been to change:
>>>>
>>>>              rs.onRegistration(registry, category);
>>>>
>>>> to:
>>>>
>>>>               try {
>>>>                   rs.onRegistration(registry, category);
>>>>               } catch (Throwable t) {
>>>>                   System.err.println("Caught and handled this exception");
>>>>                   t.printStackTrace();
>>>>               }
>>>>
>>>> WTF????
>>>
>>> Exactly.  All I saw in Patrick's link was this 'fix' that prints
>>> stack traces.  Can I get a jar that gets rid of the error and the
>>> messages?
>>
>> OpenJDK : edit, compiler, update jar
>>
>> Oracle JDK : submit a new bug report (you could get in license problems
>>                by modifying rt.jar I believe)
> 
> The actual bug is in the jai-imageio version parsing. The "fix" on the
> JDK side is just a generic, rather makeshift and somewhat risky measure
> of self-defence against buggy plugins.

Ah.

So the offending code is not in the JDK?

In that case it must be the plugin that need to be fixed.

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