[foreign] RFR 8220091: jextract output is truncated in some consoles

Jorn Vernee jbvernee at xs4all.nl
Tue Mar 5 12:00:36 UTC 2019


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