Bug 1857903
Summary: | bsh fails to build with java-11-openjdk | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | jiri vanek <jvanek> |
Component: | bsh | Assignee: | Stewardship SIG <stewardship-sig> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | decathorpe, dtardon, java-maint-sig, jvanek, mizdebsk, sgehwolf, stewardship-sig |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | bsh-2.0-18.b6.fc33 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-07-20 20:14:22 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1825969 |
Description
jiri vanek
2020-07-16 18:00:55 UTC
I've now had time to look at this one. I successfully managed to set -source 1.8 -target 1.8 for building code and javadocs, but then the build failed with this error: [javac] /builddir/build/BUILD/beanshell-2.0b6/src/bsh/util/AWTConsole.java:217: error: package java.awt.peer is not visible [javac] ((java.awt.peer.TextComponentPeer)getPeer()).setCaretPosition( [javac] ^ [javac] (package java.awt.peer is declared in module java.desktop, which does not export it) [javac] /builddir/build/BUILD/beanshell-2.0b6/src/bsh/util/AWTConsole.java:217: error: cannot find symbol [javac] ((java.awt.peer.TextComponentPeer)getPeer()).setCaretPosition( [javac] ^ [javac] symbol: method getPeer() [javac] location: class AWTConsole Which looks like a proper Java 11 compatibility issue (private things actually being really private now?) The upstream project is active again and is working towards a 3.0 release, and the 2.0 beta releases are considered "no longer supported" :( highlight: This was rebuild in sidetag f33-java11. Thus --target is really necessary to reproduce failure. please note: This side tag, f33-java11, will be merged to main f33 buildroot in aprox 14 days. (Looked at what debian is doing to fix this. Naughty.) Fixed and built for rawhide: https://koji.fedoraproject.org/koji/buildinfo?buildID=1544312 |