This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 256953 - [HeapWalker] Strings are displayed incorrectly
Summary: [HeapWalker] Strings are displayed incorrectly
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Engine (show other bugs)
Version: 8.0
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Hurka
URL: https://netbeans.org/projects/profile...
Keywords: JDK_9
Depends on:
Blocks:
 
Reported: 2015-12-03 12:36 UTC by Tomas Hurka
Modified: 2015-12-12 02:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2015-12-03 12:36:47 UTC
1) Open attached heap dump https://netbeans.org/projects/profiler/downloads/download/Heapdumps/heapdump-1449144851503.hprof.gz

2) Logical value of String instances are incorrect.
Comment 1 Tomas Hurka 2015-12-03 12:38:03 UTC
Problem is caused by changes in java.lang.String internal representation. https://bugs.openjdk.java.net/browse/JDK-8054307
Comment 2 Tomas Hurka 2015-12-03 14:09:41 UTC
StringBuilder and StringBuffer are broken too.
Comment 3 Tomas Hurka 2015-12-11 09:28:25 UTC
Fixed in profiler-main

changeset:   293924:450f7d9c8019
user:        Tomas Hurka <thurka@netbeans.org>
date:        Fri Dec 11 10:25:50 2015 +0100
summary:     bugfix #256953, decode string from byte array and coder field (JDK-8054307)
Comment 4 Quality Engineering 2015-12-12 02:44:13 UTC
Integrated into 'main-silver', will be available in build *201512120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/450f7d9c8019
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #256953, decode string from byte array and coder field (JDK-8054307)