[SRU] Netbeans 10 should depend on java11-sdk

Bug #1825604 reported by agent 8131
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
netbeans (Ubuntu)
Fix Released
Medium
Unassigned
Bionic
Fix Released
Undecided
Unassigned
Cosmic
Fix Released
Undecided
Unassigned
Disco
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

 * Netbeans has a "Depends: default-jdk | java8-sdk" even though it requires OpenJDK 11 to run.
 * If a user has openjdk-8-jdk installed, the above Depends will be satisfied but he won't be actually able to run it.
 * The Depends clause should be updated to "Depends: default-jdk | java11-sdk".

[Test Case]

With no OpenJDK installed:
 1. Install openjdk-8-jdk
 2. Install netbeans
 3. Verify that openjdk-11-jdk and default-jdk will be installed as well.

[Regression Potential]

 * This moves Netbeans dependency to a (required) newer JDK. This could cause some side-effects to a user that had openjdk-8-jre/-jdk installed and expected that to be the default 'java' binary. In that situation, installing netbeans will cause the default-jdk (ie. openjdk-11-jdk) to be installed alongside openjdk-8, but the 'java' binary will now come from openjdk-11. For such users the workaround is to run update-java-alternatives.

[Original report]
I just had netbeans 10 pushed to my Ubuntu 18.04 workstation.

For netbeans 8.1 I was using openjdk-8 and did not have openjdk-11 installed so I didn't have to manage the versions. Netbeans 10 seems to require class file version 55.0. Dependencies should probably be changed on the netbeans package to reflect that. I think the issue is:

Depends: default-jdk | java8-sdk

This probably needs to be:

Depends: default-jdk

Or something more specific.

tags: added: id-5cbf8ddbadf2e072afde892b
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package netbeans - 10.0-3ubuntu2

---------------
netbeans (10.0-3ubuntu2) eoan; urgency=medium

  * Backport upstream patch to remove old javadoc api and implementation usage
    to make it work with OpenJDK 11 and later. (Closes: #925509, LP: #1828427)
  * Depend on java11-sdk instead of java8-sdk as Netbeans is now configured to
    run with openjdk-11. (LP: #1825604)

 -- Tiago Stürmer Daitx <email address hidden> Tue, 21 May 2019 20:22:04 +0000

Changed in netbeans (Ubuntu):
status: New → Fix Released
description: updated
summary: - Netbeans 10 requires openjdk-11
+ [SRU] Netbeans 10 should depend on java11-sdk
tags: added: bionic cosmic disco
Changed in netbeans (Ubuntu):
importance: Undecided → High
importance: High → Medium
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello agent, or anyone else affected,

Accepted netbeans into disco-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/netbeans/10.0-3ubuntu2~18.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-disco to verification-done-disco. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-disco. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in netbeans (Ubuntu Disco):
status: New → Fix Committed
tags: added: verification-needed verification-needed-disco
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello agent, or anyone else affected,

Accepted netbeans into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/netbeans/10.0-3ubuntu2~18.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-cosmic to verification-done-cosmic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-cosmic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in netbeans (Ubuntu Cosmic):
status: New → Fix Committed
tags: added: verification-needed-cosmic
Changed in netbeans (Ubuntu Bionic):
status: New → Fix Committed
tags: added: verification-needed-bionic
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hello agent, or anyone else affected,

Accepted netbeans into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/netbeans/10.0-3ubuntu2~18.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Tiago Stürmer Daitx (tdaitx) wrote :

I have verified netbeans 10.0-3ubuntu2~18.04.1 from -proposed on 3 releases: bionic, cosmic, and disco; the fix works on all of them and it now requires a java11-jdk (or the default-jdk which is openjdk-11-jdk on these releases) to be installed.

tags: added: verification-done-bionic verification-done-cosmic verification-done-disco
removed: verification-needed verification-needed-bionic verification-needed-cosmic verification-needed-disco
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for netbeans has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package netbeans - 10.0-3ubuntu2~18.04.1

---------------
netbeans (10.0-3ubuntu2~18.04.1) bionic-security; urgency=medium

  * Backport from Eoan to bring java11-sdk dependency and javadoc fixes in.

netbeans (10.0-3ubuntu2) eoan; urgency=medium

  * Backport upstream patch to remove old javadoc api and implementation usage
    to make it work with OpenJDK 11 and later. (Closes: #925509, LP: #1828427)
  * Depend on java11-sdk instead of java8-sdk as Netbeans is now configured to
    run with openjdk-11. (LP: #1825604)

 -- Tiago Stürmer Daitx <email address hidden> Tue, 21 May 2019 20:23:51 +0000

Changed in netbeans (Ubuntu Cosmic):
status: Fix Committed → Fix Released
Changed in netbeans (Ubuntu Bionic):
status: Fix Committed → Fix Released
Changed in netbeans (Ubuntu Disco):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.