netty5/common/src
Norman Maurer 97df3cb039 [#4936] NetUtil can prevent using Netty due to SecurityManager denial
Motivation:

A custom SecurityManager may prevent calling File.exists() and so throw a SecurityException in the static init block of NetUtil.

Modifications:

Correctly catch the exception and so allow to static init NetUtil.

Result:

Allow static init method of NetUtil to work even with custom SecurityManager.
2016-03-14 12:10:16 +01:00
..
main [#4936] NetUtil can prevent using Netty due to SecurityManager denial 2016-03-14 12:10:16 +01:00
test Helper method to get mime-type from Content-Type header of HttpMessage 2016-03-03 15:18:39 +01:00