{"action":"closed","issue":{"url":"https://api.github.com/repos/netty/netty/issues/8166","repository_url":"https://api.github.com/repos/netty/netty","labels_url":"https://api.github.com/repos/netty/netty/issues/8166/labels{/name}","comments_url":"https://api.github.com/repos/netty/netty/issues/8166/comments","events_url":"https://api.github.com/repos/netty/netty/issues/8166/events","html_url":"https://github.com/netty/netty/issues/8166","id":346837449,"node_id":"MDU6SXNzdWUzNDY4Mzc0NDk=","number":8166,"title":"In netty-4.1.28.Final version, an error occurs when running on jdk6.","user":{"login":"koo-taejin","id":10057874,"node_id":"MDQ6VXNlcjEwMDU3ODc0","avatar_url":"https://avatars2.githubusercontent.com/u/10057874?v=4","gravatar_id":"","url":"https://api.github.com/users/koo-taejin","html_url":"https://github.com/koo-taejin","followers_url":"https://api.github.com/users/koo-taejin/followers","following_url":"https://api.github.com/users/koo-taejin/following{/other_user}","gists_url":"https://api.github.com/users/koo-taejin/gists{/gist_id}","starred_url":"https://api.github.com/users/koo-taejin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koo-taejin/subscriptions","organizations_url":"https://api.github.com/users/koo-taejin/orgs","repos_url":"https://api.github.com/users/koo-taejin/repos","events_url":"https://api.github.com/users/koo-taejin/events{/privacy}","received_events_url":"https://api.github.com/users/koo-taejin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"normanmaurer","id":439362,"node_id":"MDQ6VXNlcjQzOTM2Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/439362?v=4","gravatar_id":"","url":"https://api.github.com/users/normanmaurer","html_url":"https://github.com/normanmaurer","followers_url":"https://api.github.com/users/normanmaurer/followers","following_url":"https://api.github.com/users/normanmaurer/following{/other_user}","gists_url":"https://api.github.com/users/normanmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/normanmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanmaurer/subscriptions","organizations_url":"https://api.github.com/users/normanmaurer/orgs","repos_url":"https://api.github.com/users/normanmaurer/repos","events_url":"https://api.github.com/users/normanmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/normanmaurer/received_events","type":"User","site_admin":false},"assignees":[{"login":"normanmaurer","id":439362,"node_id":"MDQ6VXNlcjQzOTM2Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/439362?v=4","gravatar_id":"","url":"https://api.github.com/users/normanmaurer","html_url":"https://github.com/normanmaurer","followers_url":"https://api.github.com/users/normanmaurer/followers","following_url":"https://api.github.com/users/normanmaurer/following{/other_user}","gists_url":"https://api.github.com/users/normanmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/normanmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanmaurer/subscriptions","organizations_url":"https://api.github.com/users/normanmaurer/orgs","repos_url":"https://api.github.com/users/normanmaurer/repos","events_url":"https://api.github.com/users/normanmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/normanmaurer/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/netty/netty/milestones/191","html_url":"https://github.com/netty/netty/milestone/191","labels_url":"https://api.github.com/repos/netty/netty/milestones/191/labels","id":3527017,"node_id":"MDk6TWlsZXN0b25lMzUyNzAxNw==","number":191,"title":"4.1.29.Final","description":"","creator":{"login":"normanmaurer","id":439362,"node_id":"MDQ6VXNlcjQzOTM2Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/439362?v=4","gravatar_id":"","url":"https://api.github.com/users/normanmaurer","html_url":"https://github.com/normanmaurer","followers_url":"https://api.github.com/users/normanmaurer/followers","following_url":"https://api.github.com/users/normanmaurer/following{/other_user}","gists_url":"https://api.github.com/users/normanmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/normanmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanmaurer/subscriptions","organizations_url":"https://api.github.com/users/normanmaurer/orgs","repos_url":"https://api.github.com/users/normanmaurer/repos","events_url":"https://api.github.com/users/normanmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/normanmaurer/received_events","type":"User","site_admin":false},"open_issues":53,"closed_issues":8,"state":"open","created_at":"2018-07-27T04:30:06Z","updated_at":"2018-08-03T05:07:10Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-08-02T02:37:18Z","updated_at":"2018-08-03T05:07:10Z","closed_at":"2018-08-03T05:07:10Z","author_association":"NONE","body":"### Actual behavior\r\n```\r\nio.netty.channel.ChannelException: Unable to create Channel from class class io.netty.channel.socket.nio.NioSocketChannel\r\nCaused by: java.lang.NoClassDefFoundError: java/nio/channels/NetworkChannel\r\n\tat io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:105)\r\n\tat io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:94)\r\n\tat io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:87)\r\n\tat io.netty.channel.socket.nio.NioSocketChannel.<init>(NioSocketChannel.java:80)\r\n\t... 32 more\r\nCaused by: java.lang.ClassNotFoundException: java.nio.channels.NetworkChannel\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:202)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:190)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:306)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:247)\r\n```\r\n\r\n### Steps to reproduce\r\n```\r\n// run following test on jvm6\r\n\r\n    @Test\r\n    public void listenerTest() throws Exception {\r\n        Bootstrap bootstrap = createBootstrap();\r\n        Channel channel = bootstrap.connect(host, port).sync().channel();\r\n\r\n    }\r\n\r\n    public Bootstrap createBootstrap() {\r\n        EventLoopGroup workerGroup = new NioEventLoopGroup();\r\n        Bootstrap bootstrap = new Bootstrap();\r\n        bootstrap.group(workerGroup).channel(NioSocketChannel.class)\r\n                .handler(new ChannelInitializer<SocketChannel>() {\r\n                    @Override\r\n                    protected void initChannel(SocketChannel ch) throws Exception {\r\n                        ch.pipeline().addLast(new HttpClientCodec());\r\n                        ch.pipeline().addLast(new HttpObjectAggregator(65535));\r\n                    }\r\n                });\r\n        return bootstrap;\r\n    }\r\n```\r\n\r\n### Netty version\r\nnetty-4.1.28.Final\r\n\r\n### JVM version (e.g. `java -version`)\r\n1.6.0_45\r\n\r\n### OS version (e.g. `uname -a`)\r\nWindows10,  CentOS 6.6\r\n\r\n\r\nI think this issue is problem, but I'm not sure.\r\nIf this issue is problem, May I make a correction?"}}
{"actor":{"display_login":"normanmaurer"}}