Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2014 17:13:01 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Mike Jakubik <mike.jakubik@intertainservices.com>
Cc:        Greg Lewis <glewis@freebsd.org>, freebsd-java@FreeBSD.org
Subject:   Re: FreeBSD Port: java/icedtea-web
Message-ID:  <52F94EED.4080606@FreeBSD.org>
In-Reply-To: <52F940E8.6020209@intertainservices.com>
References:  <52F940E8.6020209@intertainservices.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2014-02-10 16:13:12 -0500, Mike Jakubik wrote:
> Hello,
> 
> The latest version of this does not compile with OpenJDK 7. Below
> is the error.
> 
> configure:7339: checking if sun.security.util.SecurityConstants is 
> available sun/applet/Test.java:4: warning: SecurityConstants is
> internal proprietary API and may be removed in a future release 
> import sun.security.util.SecurityConstants; ^ 1 warning Exception
> in thread "main" java.lang.InternalError: sun.net.PortConfig: 
> unknown OS at sun.net.PortConfig$1.run(PortConfig.java:59) at
> sun.net.PortConfig$1.run(PortConfig.java:45) at
> java.security.AccessController.doPrivileged(Native Method) at
> sun.net.PortConfig.<clinit>(PortConfig.java:44) at
> java.net.SocketPermission$1.run(SocketPermission.java:1217) at
> java.net.SocketPermission$1.run(SocketPermission.java:1209) at
> java.security.AccessController.doPrivileged(Native Method) at 
> java.net.SocketPermission.initEphemeralPorts(SocketPermission.java:1208)
>
> 
at java.net.SocketPermission.<clinit>(SocketPermission.java:235)
> at 
> sun.security.util.SecurityConstants.<clinit>(SecurityConstants.java:259)
>
> 
at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:190) at
> sun.applet.Test.main(Test.java:11) configure:7376: result: no 
> configure:7383: error: sun.security.util.SecurityConstants not
> found.

A PR was filed already:

http://www.freebsd.org/cgi/query-pr.cgi?pr=186636

A patch was suggested by lwhsu@:

http://people.freebsd.org/~lwhsu/patch/openjdk7-PortConfig.diff

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQEcBAEBAgAGBQJS+U7tAAoJEHyflib82/FGu3AH/RfKRp03P8eWMNZS62bc1IcB
IU9lV6VZ0jHXnM0MhjkoXtY8+022w81DpGTUQXdSVdAe89VA74t/buKAcft6KisY
venoof89NS21Wq+8kbd2dI+I9T/VO4i2sLsLVhPbudyNFzQ6aTYS5lM8G97TPTk8
Wx8QlPs3hntPj3o/86Ru7ZzX42GzbMOiF1U3Wdqqp6rrVkcYETQt5X94oy6zlxpG
K7ogbJ5NV/xe3MYM3ZdKd6sqSU7Uh6hTCCCl6ic2F3WFnQCFFimUkheJbyPhqUS2
RPOfjzNNFwtj/f8lLEspN+d52qy6LDCj6OXF2oEHNbSj1j2swTrLc9wo1rxgsfo=
=1wpt
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52F94EED.4080606>