Re: JDK 9 RFR [8137005]: java.util.logging.Formatter#formatMessage() swallows Exceptions

2015-12-04 Thread Jason Mehrens
Alexander, >What is wrong with get/serErrorManager for Formatter? It should be just >a way for Formatter to report its internal errors. 1. You can't inherit the Handler error manager until after construction of the formatter. That means the concept of inheriting an error manager from a handler

Re: JDK 9 RFR [8137005]: java.util.logging.Formatter#formatMessage() swallows Exceptions

2015-11-23 Thread Alexander Fomin
y, but Let my play with that. If I found it OK, I'll back with new webrev. Thanks, Alexander Jason From: Alexander Fomin Sent: Friday, November 20, 2015 11:27 AM To: Jason Mehrens; core-libs-dev@openjdk.java.net; Daniel Fuchs; mandy.ch...@oracle.co

Re: JDK 9 RFR [8137005]: java.util.logging.Formatter#formatMessage() swallows Exceptions

2015-11-23 Thread Jason Mehrens
penjdk.java.net; Daniel Fuchs; mandy.ch...@oracle.com Subject: Re: JDK 9 RFR [8137005]: java.util.logging.Formatter#formatMessage() swallows Exceptions Hi Jason On 20.11.2015 22:15, Jason Mehrens wrote: > Alexander, > > I see your point. It is also out of spec for Handler.setFormat

Re: JDK 9 RFR [8137005]: java.util.logging.Formatter#formatMessage() swallows Exceptions

2015-11-20 Thread Alexander Fomin
don't have to change the public API of Formatter. Jason From: core-libs-dev on behalf of Alexander Fomin Sent: Friday, November 20, 2015 7:48 AM To: core-libs-dev@openjdk.java.net; Daniel Fuchs; mandy.ch...@oracle.com Subject: JDK 9 RFR [8137005]: j

Re: JDK 9 RFR [8137005]: java.util.logging.Formatter#formatMessage() swallows Exceptions

2015-11-20 Thread Jason Mehrens
e-libs-dev@openjdk.java.net; Daniel Fuchs; mandy.ch...@oracle.com Subject: Re: JDK 9 RFR [8137005]: java.util.logging.Formatter#formatMessage() swallows Exceptions Hi Jason On 20.11.2015 17:47, Jason Mehrens wrote: > Alexander, > > Why not just cache the last exception in the formatter

JDK 9 RFR [8137005]: java.util.logging.Formatter#formatMessage() swallows Exceptions

2015-11-20 Thread Alexander Fomin
Hi, please, review this patch to report errors in java.util.logging.Formatter#formatMessage(). Bug: https://bugs.openjdk.java.net/browse/JDK-8137005 Webrev: http://cr.openjdk.java.net/~dfuchs/alexander/8137005/webrev.00 Summary: j.u.logging.Formatter#formatMessage() swallows exceptions th

Re: JDK 9 RFR [8137005]: java.util.logging.Formatter#formatMessage() swallows Exceptions

2015-11-20 Thread Jason Mehrens
From: Daniel Fuchs Sent: Friday, November 20, 2015 11:04 AM To: Jason Mehrens; Alexander Fomin; core-libs-dev@openjdk.java.net; mandy.ch...@oracle.com Subject: Re: JDK 9 RFR [8137005]: java.util.logging.Formatter#formatMessage() swallows Exceptions On 20/11/15 17:55, Jason

Re: JDK 9 RFR [8137005]: java.util.logging.Formatter#formatMessage() swallows Exceptions

2015-11-20 Thread Alexander Fomin
k.java.net; mandy.ch...@oracle.com Subject: Re: JDK 9 RFR [8137005]: java.util.logging.Formatter#formatMessage() swallows Exceptions On 20/11/15 15:47, Jason Mehrens wrote: Alexander, Why not just cache the last exception in the formatter and use getTail to clear it and report it? Since

Re: JDK 9 RFR [8137005]: java.util.logging.Formatter#formatMessage() swallows Exceptions

2015-11-20 Thread Daniel Fuchs
vember 20, 2015 9:32 AM To: Jason Mehrens; Alexander Fomin; core-libs-dev@openjdk.java.net; mandy.ch...@oracle.com Subject: Re: JDK 9 RFR [8137005]: java.util.logging.Formatter#formatMessage() swallows Exceptions On 20/11/15 15:47, Jason Mehrens wrote: Alexander, Why not just cache the last e

Re: JDK 9 RFR [8137005]: java.util.logging.Formatter#formatMessage() swallows Exceptions

2015-11-20 Thread Jason Mehrens
s; Alexander Fomin; core-libs-dev@openjdk.java.net; mandy.ch...@oracle.com Subject: Re: JDK 9 RFR [8137005]: java.util.logging.Formatter#formatMessage() swallows Exceptions On 20/11/15 15:47, Jason Mehrens wrote: > Alexander, > > Why not just cache the last exception in the formatter an

Re: JDK 9 RFR [8137005]: java.util.logging.Formatter#formatMessage() swallows Exceptions

2015-11-20 Thread Daniel Fuchs
daniel Jason From: core-libs-dev on behalf of Alexander Fomin Sent: Friday, November 20, 2015 7:48 AM To: core-libs-dev@openjdk.java.net; Daniel Fuchs; mandy.ch...@oracle.com Subject: JDK 9 RFR [8137005]: java.util.logging.Formatter#formatMessage() swallows Exceptions Hi,