electric 9.07 fails to build from source with Java 9

Markus Koschany <[email protected]> Mon, 30 Oct 2017 00:34:25 +0100
Newsgroups gmane.comp.cad.electric.bugs
Organization debian.org
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============0133942803129016663==
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="vTJ0in371hVwxtvNKesv6DhTiw7h6tKkD"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--vTJ0in371hVwxtvNKesv6DhTiw7h6tKkD
Content-Type: multipart/mixed; boundary="RMSNJS1wAtl0W6xEkemjkKVFhinN91wGo";
 protected-headers="v1"
From: Markus Koschany <[email protected]>
To: [email protected]
Message-ID: <[email protected]>
Subject: electric 9.07 fails to build from source with Java 9

--RMSNJS1wAtl0W6xEkemjkKVFhinN91wGo
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

Hello,

I'm hereby forwarding Debian bug

https://bugs.debian.org/873219

Unfortunately electric 9.07 fails to build from source with Java 9 now
due to some changes to generics in certain Swing classes. The error
message is:

[javac]
/build/electric-9.07+dfsg/com/sun/electric/tool/user/ui/JobTree.java:58:
error: incompatible types: Vector<JobTreeNode> cannot be converted to
Vector<TreeNode>
[javac]         children =3D jobNodes;

This is probably a bug in OpenJDK 9 and there were some discussions on
the OpenJDK mailing list three years ago:

http://mail.openjdk.java.net/pipermail/jdk9-dev/2014-September/001295.htm=
l

It is unlikely this behavior will change with Java 9. It would be great
if there was a way to work around this issue because falling back to
Java 8 won't be possible for us.

Regards,

Markus


--RMSNJS1wAtl0W6xEkemjkKVFhinN91wGo--

--vTJ0in371hVwxtvNKesv6DhTiw7h6tKkD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAln2ZYFfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD
RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQACgkQ2a0UuVE7
UeQhDA//bweCQZ+eNj0ihVz6MfD2lqnPMdZpw0LNOwj6GZ3pHvcEHrKA87/WuCuK
wFT0KMF+8MLrmHBZlZFZ3l+BEQkv5cUy9+YOWbOMOc833ORLcu1eKdk0bc5mfkxp
d900p3rPqSHx3q2Vw0zdGPD7bhfZbftTpo950bTE4/9Es3rMEDzteJ1gInCyXE4i
DU0B89NaREwi7u7oexODDK4DKEIo+yQbwvIIXm3CQNgHixkFg+SQ3WSbj3+O3/o4
MHI8uHkz90GgM9JWnnxXesDWDRIZPnCDkMlZEfAoOiPDkHMj0o5a3diCKwpoZ15T
6kqdYllSJE1O9v45Tz0/bnsc5B2NfI6C8qouI5TfEjf/H0BxRDkuklOgVXj4RpFW
oqHrHoVs6OPRZzE19GnRni0Ub6pw9m4vEosMUAVccK3jyJDYHfPhGWMH/yQCs1/f
S6Qcx/MkIAPfAUeHLT72cbj+qyBQZZC3XTAbnnaVr2e9vlIG09JCoTsPE7/jAC4L
nd4d9y2KsxtDtsbB+EJvzhMOIsCRp4hcgR23mvFCEx47k4xA83ZRtL/4juSeH4Yd
lpjtAFYu3tWXnrgy1SFu9OAX4/yN++vHb56407DnVbsFUySfHA8E7U4QvuNzOsw9
sCkcsSjrA8gRJ+VAusbiXDtqcoKnlYFG8v9qg84UxFvI4Hi196k=
=UY0I
-----END PGP SIGNATURE-----

--vTJ0in371hVwxtvNKesv6DhTiw7h6tKkD--


--===============0133942803129016663==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Bug-gnu-electric mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnu-electric

--===============0133942803129016663==--