netty/netty — Issue #110: Use Safe construction in AbstractChannel 
Author: normanmaurer
Created: 2011-12-09 06:57:27+00:00
State: open
Labels: defect

In AbstractChannel we call:

```
protected AbstractChannel(
Channel parent, ChannelFactory factory,
ChannelPipeline pipeline, ChannelSink sink) {

this.parent = parent;
this.factory = factory;
this.pipeline = pipeline;

id = allocateId(this);

pipeline.attach(this, sink);
}
```

Thats not safe as allocateId and pipeline.attach(..) could see a not fully initialized channel instance