From owner-freebsd-java@FreeBSD.ORG Sun Oct 27 23:51:38 2013 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4D607D14 for ; Sun, 27 Oct 2013 23:51:38 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from melon.pingpong.net (melon.pingpong.net [79.136.116.200]) by mx1.freebsd.org (Postfix) with ESMTP id 125012540 for ; Sun, 27 Oct 2013 23:51:37 +0000 (UTC) Received: from [10.0.1.5] (h-43-145.a357.priv.bahnhof.se [79.136.43.145]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by melon.pingpong.net (Postfix) with ESMTPSA id BD68430E10 for ; Mon, 28 Oct 2013 00:46:15 +0100 (CET) From: Palle Girgensohn Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: sun.nio.ch.DefaultAsynchronousChannelProvider throws "platform not recognized", is it not implemented? Message-Id: <676B8A86-F24A-4283-B53A-A6D055110C40@pingpong.net> Date: Mon, 28 Oct 2013 00:46:15 +0100 To: freebsd-java@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1816\)) X-Mailer: Apple Mail (2.1816) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Oct 2013 23:51:38 -0000 Hi I cannot start tomcat 7.0.47 on FreeBSD with openjdk7. Here's a simple = isolated example. It seems to me that it is just not implemented? Any = ideas if there is anything we can do to work around this problem or = perhaps fix it? $ cat Foo.java import java.nio.channels.AsynchronousServerSocketChannel; class Foo { public static void main(String[] args) throws Exception { AsynchronousServerSocketChannel.open(); } } $ javac Foo.java $ java Foo Exception in thread "main" java.lang.InternalError: platform not = recognized at = sun.nio.ch.DefaultAsynchronousChannelProvider.create(DefaultAsynchronousCh= annelProvider.java:55) at = java.nio.channels.spi.AsynchronousChannelProvider$ProviderHolder$1.run(Asy= nchronousChannelProvider.java:88) at = java.nio.channels.spi.AsynchronousChannelProvider$ProviderHolder$1.run(Asy= nchronousChannelProvider.java:79) at java.security.AccessController.doPrivileged(Native Method) at = java.nio.channels.spi.AsynchronousChannelProvider$ProviderHolder.load(Asyn= chronousChannelProvider.java:78) at = java.nio.channels.spi.AsynchronousChannelProvider$ProviderHolder.(= AsynchronousChannelProvider.java:75) at = java.nio.channels.spi.AsynchronousChannelProvider.provider(AsynchronousCha= nnelProvider.java:166) at = java.nio.channels.AsynchronousServerSocketChannel.open(AsynchronousServerS= ocketChannel.java:138) at = java.nio.channels.AsynchronousServerSocketChannel.open(AsynchronousServerS= ocketChannel.java:161) at Foo.main(Foo.java:5) $ java -version openjdk version "1.7.0_25" OpenJDK Runtime Environment (build 1.7.0_25-b15) OpenJDK 64-Bit Server VM (build 23.21-b01, mixed mod= From owner-freebsd-java@FreeBSD.ORG Mon Oct 28 10:21:43 2013 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D21C01C0 for ; Mon, 28 Oct 2013 10:21:43 +0000 (UTC) (envelope-from girgen@pingpong.net) Received: from melon.pingpong.net (melon.pingpong.net [79.136.116.200]) by mx1.freebsd.org (Postfix) with ESMTP id 96A2821A5 for ; Mon, 28 Oct 2013 10:21:43 +0000 (UTC) Received: from [10.0.0.137] (citron2.pingpong.net [195.178.173.68]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by melon.pingpong.net (Postfix) with ESMTPSA id EB229318FF for ; Mon, 28 Oct 2013 11:21:41 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1816\)) Subject: Re: sun.nio.ch.DefaultAsynchronousChannelProvider throws "platform not recognized", is it not implemented? From: Palle Girgensohn In-Reply-To: <676B8A86-F24A-4283-B53A-A6D055110C40@pingpong.net> Date: Mon, 28 Oct 2013 11:21:41 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <676B8A86-F24A-4283-B53A-A6D055110C40@pingpong.net> To: freebsd-java@freebsd.org X-Mailer: Apple Mail (2.1816) X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Oct 2013 10:21:43 -0000 28 okt 2013 kl. 00:46 skrev Palle Girgensohn : > Hi >=20 > I cannot start tomcat 7.0.47 on FreeBSD with openjdk7. Here's a simple = isolated example. It seems to me that it is just not implemented? Any = ideas if there is anything we can do to work around this problem or = perhaps fix it? >=20 > $ cat Foo.java > import java.nio.channels.AsynchronousServerSocketChannel; >=20 > class Foo { > public static void main(String[] args) throws Exception { > AsynchronousServerSocketChannel.open(); > } > } >=20 > $ javac Foo.java > $ java Foo > Exception in thread "main" java.lang.InternalError: platform not = recognized > at = sun.nio.ch.DefaultAsynchronousChannelProvider.create(DefaultAsynchronousCh= annelProvider.java:55) > at = java.nio.channels.spi.AsynchronousChannelProvider$ProviderHolder$1.run(Asy= nchronousChannelProvider.java:88) > at = java.nio.channels.spi.AsynchronousChannelProvider$ProviderHolder$1.run(Asy= nchronousChannelProvider.java:79) > at java.security.AccessController.doPrivileged(Native Method) > at = java.nio.channels.spi.AsynchronousChannelProvider$ProviderHolder.load(Asyn= chronousChannelProvider.java:78) > at = java.nio.channels.spi.AsynchronousChannelProvider$ProviderHolder.(= AsynchronousChannelProvider.java:75) > at = java.nio.channels.spi.AsynchronousChannelProvider.provider(AsynchronousCha= nnelProvider.java:166) > at = java.nio.channels.AsynchronousServerSocketChannel.open(AsynchronousServerS= ocketChannel.java:138) > at = java.nio.channels.AsynchronousServerSocketChannel.open(AsynchronousServerS= ocketChannel.java:161) > at Foo.main(Foo.java:5) >=20 > $ java -version > openjdk version "1.7.0_25" > OpenJDK Runtime Environment (build 1.7.0_25-b15) > OpenJDK 64-Bit Server VM (build 23.21-b01, mixed mod Hi, Filed a patch to gnats, discussion continues there: http://www.freebsd.org/cgi/query-pr.cgi?pr=3D183389 Palle From owner-freebsd-java@FreeBSD.ORG Mon Oct 28 11:06:51 2013 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8DDB8AE8 for ; Mon, 28 Oct 2013 11:06:51 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 595042471 for ; Mon, 28 Oct 2013 11:06:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9SB6pi9055137 for ; Mon, 28 Oct 2013 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9SB6oij055135 for freebsd-java@FreeBSD.org; Mon, 28 Oct 2013 11:06:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 28 Oct 2013 11:06:50 GMT Message-Id: <201310281106.r9SB6oij055135@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Subject: Current problem reports assigned to freebsd-java@FreeBSD.org X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Oct 2013 11:06:51 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o java/183081 java java crash on machine with zfs kernel module o ports/182384 java java/linux-sun-jdk16 won't build with demos & samples o ports/181136 java java/icedtea-web not build o ports/180643 java java/openjdk6 build fails on amd64 -current o ports/178856 java java/openjdk6, java/openjdk7: Java fails to print when o ports/178816 java java/netbeans does not build, compile error at java/op o ports/178728 java [UPDATE] devel/apache-ant to v1.9.0 o ports/178647 java java/openjdk6 does not build (without extra hack) o ports/177802 java Could not update openfire because of problem in java/o o ports/175300 java java/jamvm fails to compile on ARM6 (raspberry-pi) o ports/174825 java java/openjdk6: fails to build on i386 (64-bit mode not o ports/173603 java java/icedtea-web starts javaws incorrectly o ports/173592 java java/openjdk6 fails on FreeBSD_9_1_RC2 o ports/173210 java java/openjdk6 - use better src placement o java/172962 java Sig11 while compiling OpenJDK6-b26 using clang o ports/171014 java [patch] Correct java/openjdk6 Dependency Declaration o ports/167903 java [PATCH] java/openjdk6: Fix build failure in 8.3 jail r o ports/164941 java [UPDATE] [NEW PORTS] java/classpath-initial, including o ports/162991 java java/openjdk6 fails to build o java/162522 java OpenJDK 6 is not setting close on exec o java/160553 java Jaikoz java based audio tagger core dumps o ports/159787 java java/openjdk6 nio muti-thread bug o ports/154884 java java/openjdk6: Every NetBeans version on FreeBSD 8.1 c f java/147512 java Crash of RXTX-2.1-7 on AMD64 system o java/140002 java java/openjdk6: jconsole dumps tomcat when contacting j o java/128809 java JVM aborted when GNU RXTX write to serial port. o java/123555 java linux-sun-jdk15, linux-sun-jdk16 produce a coredump o java/122513 java native JDKs unbuildable with Linux ones o ports/119732 java java/linux-sun-jre16: linux-sun-jre16 plugin doesn't w o java/119063 java An unexpected error has been detected by Java Runtime o ports/116082 java java/linux-sun-jdk16 jconsole is unable to connect to 31 problems total.