I'm going to request bugs for openjdk7 and 8, so small story to avoid copypaste in them:
Openjdk is supporting parallel instalaltions. So in same time you can have eg:
as targets of "java" or "javac" alternatvies keys. Which one is proffered, says priority.
the above have priorities eg:
Now - you select openjdk 7 as your target, and do update. So your jdks will change to:
That means that 1802 > then 170X and your selection of jdk7 will switch to jdk8.
Thats what new --family switch is going to solve.
The priorities will be:
1701 family java-1.7.0-openjdk
1801 family java-1.8.0-openjdk
When target with family is selected, then then family is remembered, and selection will not leave family if thetre is still another target of same family so above example of update will now correctly stay on java-1.7.0-openjdk.
This issue is affecting:
There will be regular udpate of openjdk 6,7,8 and form those 7 and 8 will be requesting --family change for 7.3
Other javas will get this change async (as they always do)
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.