commit:     ca976ee5fe3a5b442d34d0129ebc51a018ed8e5b
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Jun 13 07:35:11 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 19 05:17:31 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca976ee5

dev-java/openjdk-bin: remove gentoo-vm warning

Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/25863
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-java/openjdk-bin/openjdk-bin-17.0.3_p7.ebuild | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/dev-java/openjdk-bin/openjdk-bin-17.0.3_p7.ebuild 
b/dev-java/openjdk-bin/openjdk-bin-17.0.3_p7.ebuild
index f5637ac0f050..1ad02aaacb18 100644
--- a/dev-java/openjdk-bin/openjdk-bin-17.0.3_p7.ebuild
+++ b/dev-java/openjdk-bin/openjdk-bin-17.0.3_p7.ebuild
@@ -133,16 +133,4 @@ src_install() {
 
 pkg_postinst() {
        java-vm-2_pkg_postinst
-
-       if use gentoo-vm ; then
-               ewarn "WARNING! You have enabled the gentoo-vm USE flag, making 
this JDK"
-               ewarn "recognised by the system. This will almost certainly 
break"
-               ewarn "many java ebuilds as they are not ready for 
openjdk-${SLOT}"
-       else
-               ewarn "The experimental gentoo-vm USE flag has not been enabled 
so this JDK"
-               ewarn "will not be recognised by the system. For example, 
simply calling"
-               ewarn "\"java\" will launch a different JVM. This is necessary 
until Gentoo"
-               ewarn "fully supports Java ${SLOT}. This JDK must therefore be 
invoked using its"
-               ewarn "absolute location under ${EPREFIX}/opt/${P}."
-       fi
 }

Reply via email to