Remove dangling symlink from JDK plugin (LP Bug #1617296)
Metadata
Current evaluation
Closed without merging. The proposed fix was deemed unnecessary after a bases refactor resolved the dangling symlink issue. Superseded by architectural changes.
Suggested action: —
No scores available.
Issue body
Using the JDK plugin results a dangling symlink error
package contains external symlinks:
usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/cacerts
This pull request adds 'ca-certificates-java' package to the build stage. So at the build part it will just take needed file from symlink and that's it.
LP Bug #1617296
Previous bull requests about this bug:
https://github.com/snapcore/snapcraft/pull/761 (cc @gnouy)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without merging. The proposed fix was deemed unnecessary after a bases refactor resolved the dangling symlink issue. Superseded by architectural changes. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | A proposed fix for a JDK plugin dangling symlink was closed and superseded. Maintainers confirmed the change is unnecessary following a bases refactor that resolved the underlying issue. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without merging. The proposed ca-certificates-java fix was superseded by a bases refactor that resolved the dangling symlink issue in the JDK plugin. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #761 Remove dangling symlink from JDK plugin | snapcraft | closed | Abandoned after reviewers questioned if removing the symlink would break CA certificate functionality. The author confirmed certs are still used but could not propose a fix. Another contributor could not reproduce the issue. Closed twice due to inactivity. | |
| #1617296 The JDK plugin results in a dangling symlink | snapcraft (launchpad) | closed | Abandoned. The JDK plugin dangling symlink causing snap lint failures remains unaddressed due to lack of follow-up comments. | |
| #2376 jdk plugin: remove jdk | snapcraft | merged | Merged the JDK plugin removal. Approved by a reviewer, passed CI, and deleted 51 lines across three files to address Launchpad bug #1794788. |