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

Summary: [HeapWalker] Strings are displayed incorrectly
Product: profiler Reporter: Tomas Hurka <thurka>
Component: EngineAssignee: Tomas Hurka <thurka>
Status: RESOLVED FIXED    
Severity: normal Keywords: JDK_9
Priority: P2    
Version: 8.0   
Hardware: All   
OS: All   
URL: https://netbeans.org/projects/profiler/downloads/download/Heapdumps/heapdump-1449144851503.hprof.gz
Issue Type: DEFECT Exception Reporter:

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)