netty5/transport/src/main/java/io/netty/channel/local
Norman Maurer f17bfd0f64
Only use static Exception instances when we can ensure addSuppressed … (#9152)
Motivation:

OOME is occurred by increasing suppressedExceptions because other libraries call Throwable#addSuppressed. As we have no control over what other libraries do we need to ensure this can not lead to OOME.

Modifications:

Only use static instances of the Exceptions if we can either dissable addSuppressed or we run on java6.

Result:

Not possible to OOME because of addSuppressed. Fixes https://github.com/netty/netty/issues/9151.
2019-05-17 22:23:02 +02:00
..
LocalAddress.java [#1535] Remove Channel.id() and so fix the possible leakage of the previous used Channel id map 2013-07-08 14:07:18 +02:00
LocalChannel.java Only use static Exception instances when we can ensure addSuppressed … (#9152) 2019-05-17 22:23:02 +02:00
LocalChannelRegistry.java Use StringUtil.simpleClassName(..) instead of Class.getSimpleName() where necessary 2013-11-04 19:46:15 +09:00
LocalEventLoopGroup.java Replace LocalEventLoopGroup with DefaultEventLoopGroup 2014-03-24 11:39:55 +09:00
LocalServerChannel.java Respect MAX_MESSAGES_PER_READ in LocalChannel / LocalServerChannel. (#7885) 2018-04-26 07:58:56 +02:00
package-info.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00