RFR: 4792: Stop using System.out/err.println and e.printStackTrace [v2]
Marcus Hirt
hirt at openjdk.java.net
Mon Jul 5 10:39:52 UTC 2021
On Mon, 5 Jul 2021 10:23:13 GMT, Jean-Philippe Bempel <jpbempel at openjdk.org> wrote:
>> replaced by java.util.logging logging
>
> Jean-Philippe Bempel has updated the pull request incrementally with one additional commit since the last revision:
>
> spotless
agent/src/main/java/org/openjdk/jmc/agent/jfrlegacy/impl/JFRUtils.java line 79:
> 77: } catch (NoSuchMethodException | SecurityException e) {
> 78: // This should never happen
> 79: Agent.getLogger().severe("Failed to find the addEvent method of the producer.");
Let's just roll them up into one logger call with stacktrace.
-------------
PR: https://git.openjdk.java.net/jmc/pull/272
More information about the jmc-dev
mailing list