[ https://issues.apache.org/jira/browse/NETBEANS-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16657859#comment-16657859 ]
Sven Reimers commented on NETBEANS-1359: ---------------------------------------- Understood. AFAIK I read the code the toCompositeData is called only for writing the collected ThreadInfo to the sample output stream. On the read part I see {code:java} CompositeData infoData; ThreadInfo thread; try { infoData = (CompositeData) in.readObject(); } catch (ClassNotFoundException ex) { throw new RuntimeException(ex); } thread = ThreadInfo.from(infoData); {code} So it seems the structure of the CompositeData is an API here, which changed between JDK10 and JDK11 so reading a .npss written from an IDE run with 8,9,10 and read by an IDE running on 11+ will definitely fail? Seems there is more involved here, e.g. definition of new .npss format and some more compatibility logic? [~jlahoda] What do you think? > Profiling the IDE hangs when saving snapshot > -------------------------------------------- > > Key: NETBEANS-1359 > URL: https://issues.apache.org/jira/browse/NETBEANS-1359 > Project: NetBeans > Issue Type: Bug > Components: platform - JDK Problems > Affects Versions: 10.0 > Reporter: Glenn Holmer > Assignee: Glenn Holmer > Priority: Blocker > Labels: netcat > Attachments: stacktrace.txt > > > 1) Click "Profile the IDE" icon in the Performance toolbar to start profiling > the IDE. > 2) Open some projects, files within them, etc. to create some activity for > the profiler. > 3) Click the icon again (which is now labelled "Stop IDE Profiling and Take a > Snapshot"). > This last action should create and open a profiler snapshot, but the "Saving > snapshot" progress bar in the status area of NetBeans never goes anywhere and > a snapshot is not opened. > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists