Replies: 2 comments
-
It looks like that was introduced with the second to oldest manifest without any reason describing it, and I don't know if it was intentional for that to be done. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Seems only some of the newer versions can be automatically uninstalled and replaced with newer versions. Since the UpgradeBehavior applies to all previous versions, it has to be set to uninstallPrevious in case the current version of openjdk is very old. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed this while upgrading my Java through winget. My features I set on the install (enable JAVA_HOME) were not preserved during the upgrade, and I had to reinstall manually to change the installed features. When I tested the installer manually in a VM, I noticed it automatically removed older versions of Microsoft OpenJDK 17, so I'm not sure why the manifests tell winget to uninstall older versions when the installer seems to do that automatically and in a way that preserved installed features.
Beta Was this translation helpful? Give feedback.
All reactions