Control: forwarded -1 https://lists.gnu.org/archive/html/bug-gnu-electric/2017-10/msg00000.html
On Fri, 25 Aug 2017 16:37:09 +0100 Chris West <solo-debianb...@goeswhere.com> wrote:> Source: electric > Version: 9.07+dfsg > Severity: normal > User: debian-j...@lists.debian.org > Usertags: default-java9 > > This package fails to build with default-jdk pointing to openjdk-9-jdk. > > The awful changes to generics in a couple of Swing classes seem to be > at fault. This probably requires pretty significant code changes to fix. > I recommend taking it up with upstream. See the Swing section on this wiki > page: > https://wiki.debian.org/Java/Java9Pitfalls > > > Build log: > [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 = jobNodes; > > Cheers, > Chris. Hi Chris, I have forwarded this bug report upstream and received a private e-mail from Steven Rubin, apparently the only active developer of Electric. He stated that Electric builds fine with the Oracle JDK. He suggested to change the following line in com/sun/electric/tool/user/ui/JobTree.java from public static class JobTreeNode implements TreeNode to be public static class JobTreeNode extends DefaultMutableTreeNode Unfortunately that didn't fix the issue for me. When I reported my findings to him, he indicated that it would be better to remove Electric from Debian then... Do you think using casts would be a viable option with those "terrible Swing" issues? Regards, Markus
signature.asc
Description: OpenPGP digital signature
__ This is the maintainer address of Debian's Java team <http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use debian-j...@lists.debian.org for discussions and questions.