netty5/transport/src/test/java/io/netty/channel
Norman Maurer 7c35781f4d
DefaultPromise may throw checked exceptions that are not advertised (#8995)
Motivation:

We should not throw check exceptions when the user calls sync*() but should better wrap it in a CompletionException to make it easier for people to reason about what happens.

Modifications:

- Change sync*() to throw CompletionException
- Adjust tests
- Add some more tests

Result:

Fixes https://github.com/netty/netty/issues/8521.
2019-04-10 07:15:31 +02:00
..
embedded Merge ChannelInboundHandler and ChannelOutboundHandler into ChannelHa… (#8957) 2019-03-28 09:28:27 +00:00
group Merge ChannelInboundHandler and ChannelOutboundHandler into ChannelHa… (#8957) 2019-03-28 09:28:27 +00:00
local DefaultPromise may throw checked exceptions that are not advertised (#8995) 2019-04-10 07:15:31 +02:00
nio Java 8 migration: replace anonymous types with lambda (#8751) 2019-01-25 10:51:05 +01:00
socket/nio Merge ChannelInboundHandler and ChannelOutboundHandler into ChannelHa… (#8957) 2019-03-28 09:28:27 +00:00
AbstractChannelTest.java Merge ChannelInboundHandler and ChannelOutboundHandler into ChannelHa… (#8957) 2019-03-28 09:28:27 +00:00
AbstractEventLoopTest.java Merge ChannelInboundHandler and ChannelOutboundHandler into ChannelHa… (#8957) 2019-03-28 09:28:27 +00:00
AdaptiveRecvByteBufAllocatorTest.java AdaptiveRecvByteBufAllocator should ramp up while reading 2017-12-03 17:25:31 -08:00
BaseChannelTest.java Decouple EventLoop details from the IO handling for each transport to… (#8680) 2019-01-23 08:32:05 +01:00
ChannelHandlerAdapterTest.java Add @Sharable TYPE_USE support for inner class annotations #7756 (#8800) 2019-01-31 07:20:29 +01:00
ChannelInitializerTest.java Merge ChannelInboundHandler and ChannelOutboundHandler into ChannelHa… (#8957) 2019-03-28 09:28:27 +00:00
ChannelOptionTest.java Allow to get existing ChannelOption / AttributeKey from String 2015-02-18 09:29:37 +01:00
ChannelOutboundBufferTest.java Merge ChannelInboundHandler and ChannelOutboundHandler into ChannelHa… (#8957) 2019-03-28 09:28:27 +00:00
CoalescingBufferQueueTest.java Java 8 migration: replace anonymous types with lambda (#8751) 2019-01-25 10:51:05 +01:00
CombinedChannelDuplexHandlerTest.java Merge ChannelInboundHandler and ChannelOutboundHandler into ChannelHa… (#8957) 2019-03-28 09:28:27 +00:00
CompleteChannelFutureTest.java Only use Mockito for mocking. 2017-02-07 08:47:22 +01:00
DefaultChannelIdTest.java ByteBuf Input Stream Reference Count Ownership 2016-11-14 16:29:55 -08:00
DefaultChannelPipelineTailTest.java Update to new checkstyle plugin (#8777) 2019-01-24 16:24:19 +01:00
DefaultChannelPipelineTest.java Move ChannelHandler.Skip to ChannelHandlerMask.Skip and make it packa… (#8987) 2019-04-01 08:37:09 +02:00
DefaultChannelPromiseTest.java Fail fast when DefaultChannelPromise is constructed with null as Channel. 2018-01-18 18:57:42 +00:00
DefaultFileRegionTest.java DefaultFileRegion.transferTo with invalid count may cause busy-spin (#8885) 2019-02-26 11:21:03 +01:00
DelegatingChannelPromiseNotifierTest.java remove unused import statement (#8792) 2019-01-28 16:50:15 +01:00
FailedChannelFutureTest.java Only use Mockito for mocking. 2017-02-07 08:47:22 +01:00
LoggingHandler.java Merge ChannelInboundHandler and ChannelOutboundHandler into ChannelHa… (#8957) 2019-03-28 09:28:27 +00:00
PendingWriteQueueTest.java Merge ChannelInboundHandler and ChannelOutboundHandler into ChannelHa… (#8957) 2019-03-28 09:28:27 +00:00
ReentrantChannelTest.java DefaultPromise may throw checked exceptions that are not advertised (#8995) 2019-04-10 07:15:31 +02:00
SimpleUserEventChannelHandlerTest.java Deprecate ChannelInboundHandlerAdapter and ChannelOutboundHandlerAdapter (#8929) 2019-03-13 09:46:10 +01:00
SingleThreadEventLoopTest.java Java 8 migration: replace anonymous types with lambda (#8751) 2019-01-25 10:51:05 +01:00
SucceededChannelFutureTest.java Only use Mockito for mocking. 2017-02-07 08:47:22 +01:00