[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-compiler-dev
Subject:    Re: Setting the dev option
From:       Jonathan Gibbons <jonathan.gibbons () oracle ! com>
Date:       2020-01-12 16:47:53
Message-ID: b1586ca0-de20-258c-eb05-3b0749f76797 () oracle ! com
[Download RAW message or body]

-XDdev

-- Jon

On 1/12/20 2:50 AM, Florian Weimer wrote:
> javac has this code:
>
>          } catch (Throwable ex) {
>              // Nasty.  If we've already reported an error, compensate
>              // for buggy compiler error recovery by swallowing thrown
>              // exceptions.
>              if (comp == null || comp.errorCount() == 0 || options.isSet("dev"))
>                  bugMessage(ex);
>              printArgsToFile = true;
>              return Result.ABNORMAL;
>
> Is there some way to set the "dev" option without patching the
> sources, so that I can see the exception even if it follows an earlier
> error?
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic