[foreign] RFR 8220091: jextract output is truncated in some consoles
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Tue Mar 5 12:05:34 UTC 2019
Looks good
Maurizio
On 05/03/2019 12:00, Jorn Vernee wrote:
> Hi,
>
> This is a fix for an issue where jextract output was being truncated
> in some consoles after the update to logging code.
>
> Tbh, I never really figured out what exactly was causing the issue,
> but by fiddling with the code and simplifying it, the issue was fixed.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8220091
> Webrev:
> http://cr.openjdk.java.net/~jvernee/panama/webrevs/8220091/webrev.00/
>
> Instead of wrapping the err PrintWriter in an output stream, and then
> again in a StreamHandler, I'm now just wrapping it in a Handler
> directly. (also there was no need to set the logging level on the
> Handler since it defaults to ALL. The logging level is then controlled
> through the Logger).
>
> Thanks,
> Jorn
More information about the panama-dev
mailing list