Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 770718 - dev-util/idea-community-2021.3.1: stabilization request
Summary: dev-util/idea-community-2021.3.1: stabilization request
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Pagano
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2021-02-15 05:00 UTC by Stephan Litterst
Modified: 2021-05-10 15:40 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Litterst 2021-02-15 05:00:53 UTC
Just a stabilization request for IntelliJ IDEA (dev-util/idea-community) 2021.3.1
Comment 1 Mike Pagano gentoo-dev 2021-02-16 15:11:04 UTC
Dependencies that would need to be stable:

dev-java/openjdk:11
dev-java/openjdk-bin:11
Comment 2 Viktar Patotski 2021-02-25 12:14:57 UTC
I guess the existence of 2021.3.1.203.6682.168 version in Gentoo tree is a mistake. When I look at https://www.jetbrains.com/idea/download/other.html I see that the last version of Idea is 2020.3.2 with build: 203.7148.57. Shall we remove 2021.*?
Comment 3 mercuriete 2021-05-03 12:55:42 UTC
I dont know why but from this weekend after the last update I have this bug that cant let me open idea-community:

idea-community 
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/intellij/idea/Main has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
        at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:601)



Somehow idea is run with java 8 insteaad java 11.
Can somebody check this?
Do I need to open another ticket?

thanks.
Comment 4 mercuriete 2021-05-03 13:00:46 UTC
I could workaround this problem with this command:

IDEA_JDK=/opt/openjdk-bin-11 idea-community
Comment 5 Mike Pagano gentoo-dev 2021-05-10 15:21:03 UTC
A couple of reasons I think we should off on this.

1. Dependencies
 idea-community depends on packages that have no stabilization in sight. See: java.

2. This package has a lot of releases, and we would be stuck holding onto old versions while waiting on some of the slower speed stabilizing archs to respond.  For an example, see the old versions of gentoo-sources I am forced to keep.

If java gets stabilized, I'd be happy to revisit this.
Comment 6 Ionen Wolkens gentoo-dev 2021-05-10 15:40:37 UTC
(In reply to Mike Pagano from comment #5)
> If java gets stabilized, I'd be happy to revisit this.
fwiw this has to happen for libreoffice sooner than later, see bug #788112 and bug #788118

Not to say should or shouldn't do this wrt #2