You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Ancoron Luciferis (JIRA)" <ji...@apache.org> on 2019/05/22 09:35:00 UTC

[jira] [Commented] (NETBEANS-1962) Java 11: Opening Java source files from the JDK takes minutes

    [ https://issues.apache.org/jira/browse/NETBEANS-1962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16845708#comment-16845708 ] 

Ancoron Luciferis commented on NETBEANS-1962:
---------------------------------------------

[~arunava.sinha]: Step #2 doesn't make sense for me (on Linux/Debian here). Which {{build.xml}} are you referring to?

> Java 11: Opening Java source files from the JDK takes minutes
> -------------------------------------------------------------
>
>                 Key: NETBEANS-1962
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1962
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - Platform, java - Source
>    Affects Versions: 11.0
>         Environment: Debian GNU/Linux 9, OpenJDK 11.0.1
>            Reporter: Michael Groß
>            Priority: Critical
>         Attachments: 2019-01-19_Netbeans10_Java11_JavaPlatformManager_Sources_fast.png, 2019-01-19_Netbeans10_Java11_JavaPlatformManager_Sources_verySLOW.png, 2019-01-20_Netbeans10_Java8_JavaPlatformManager_Sources.png
>
>
> For Java 8 it is enough to provide the path to the /usr/lib/jvm/openjdk-8/src.zip with the source files of the JDK with the Java Platform Manager/Sources. The I can click on a class like java.lang.String the source file for it is opened almost immediately.
> For Java 11 providing the /usr/lib/jvm/openjdk-11/src.zip does not bring the source. There is no error message in the IDE log (View > IDE Log).
> Unpacking the src.zip and then including each folder herein, from java.base to java.xml.crypto works - but it took minutes on my machine at high CPU load (Intel(R) Pentium(R) CPU B940 @ 2.00GHz, SSD drive).
> Then I merged all sub-directories from the direcories java.base to java.xml.crypto together. The resulting structure is
> com/
> java/
> javax/
> jdk/
> org/
> sun/
> (such as the structure before Java 9). Now I can open the Java sources for Java 11 as fast as before.
>  # Could you please adapt the program such that I can provide a src.zip for the JDK and it opens the sources from where?
>  # Could you please write an error in the IDE log when the source file was not found (including the absolute path of that file)?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists