Keith
Keith

Reputation: 337

How stable is Netty 4?

How stable is Netty 4, at least the parts that implement the HTTP codec, including web sockets? Is that portion just a renaming of packages, or have there been some fundamental architectural changes that make the code unstable?

I need to be able to use the HttpPost functionality from 4. I thought about trying to make it run in 3.4.0, but I am using OpenJDK and trying to drop 3.4.0 in gave me a stack trace because it couldn't load the class sun.misc.Unsafe. Perhaps this had something to do with trying to run this in an OSGi container, but I also looked at the rt.jar file in my OpenJDK install and sun.misc.Unsafe wasn't there. Perhaps just building it and making the sun.misc classes optional in the OSGi headers would help.

Using the Sun VM is not an option here, I need to use OpenJDK.

Upvotes: 4

Views: 2412

Answers (1)

Norman Maurer
Norman Maurer

Reputation: 23557

Netty 4.x is not really stable yet. We will prolly break a lot of the API within the next weeks. So unless you know what you do I would not use it yet ;)

The problem with the Unsafe class should be fixed in 3.4.1.Final which should be out this week if everything works out. The fix is related to this.

We plan to have a 3.5.0.Final release which will include the HttpPost stuff. We just want to have 3.4.1.Final first. So stay tuned..

Upvotes: 4

Related Questions