Bug#829008: update-java-alternatives always switches back to default

2016-06-29 Thread Paul Draper
Package: java-common Severity: minor Tags: patch Version: 0.51 update-java-alternatives briefly switches back to the default Java version. This can cause programs to fail during this period of time. This should be an idempotent operation, as it is for update-alternatives. See the patch below. I

Bug#829008: Corrected patch

2016-06-29 Thread Paul Draper
It seems I omitted part of the patch. Index: scripts/update-java-alternatives === --- scripts/update-java-alternatives (revision 19096) +++ scripts/update-java-alternatives (working copy) @@ -109,16 +109,6 @@ jinfo_files=