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 255766

Summary: [HeapWalker] unsupported image
Product: profiler Reporter: Tomas Hurka <thurka>
Component: BaseAssignee: Tomas Hurka <thurka>
Status: VERIFIED FIXED    
Severity: normal Keywords: 81_HR_FIX, VISUALVM
Priority: P1    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Tomas Hurka 2015-10-07 10:57:59 UTC
Image preview for BufferedImage instances does not work for heap dumps created in JDK 8u60 and newer.
Comment 1 Tomas Hurka 2015-10-07 10:58:53 UTC
This regression is caused by JDK bug fix #8066132.
Comment 2 Tomas Hurka 2015-10-07 11:36:48 UTC
Fixed in profiler-main

changeset:   292321:d4b233af0cc2
user:        Tomas Hurka <thurka@netbeans.org>
date:        Wed Oct 07 13:35:19 2015 +0200
summary:     bugfix #255766, do not read (unused) BufferedImage.isAlphaPremultiplied field - use ColorModel.isAlphaPremultiplied() instead
Comment 3 Quality Engineering 2015-10-08 01:23:52 UTC
Integrated into 'main-silver', will be available in build *201510080002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d4b233af0cc2
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #255766, do not read (unused) BufferedImage.isAlphaPremultiplied field - use ColorModel.isAlphaPremultiplied() instead
Comment 4 Jiri Sedlacek 2015-10-12 12:20:51 UTC
Verified the fix in trunk. The patch looks OK.
Comment 5 Tomas Hurka 2015-10-12 17:03:16 UTC
Transplanted to release81 branch.

changeset:   303312:131dc6fbbf73
branch:      release81
user:        Tomas Hurka <thurka@netbeans.org>
date:        Wed Oct 07 13:35:19 2015 +0200
summary:     bugfix #255766, do not read (unused) BufferedImage.isAlphaPremultiplied field - use ColorModel.isAlphaPremultiplied() instead