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.
org.netbeans.modules.profiler.heapwalk.memorylint.Histogram cannot be compiled with JDK 7 b59. See the errors below: [javac] /home/th125165/Projects/Source/icedtea/netbeans/profiler/src/org/netbeans/modules/profiler/heapwalk/memorylint/Histogram.java:105: count has private access in org.netbeans.modules.profiler.heapwalk.memorylint.Histogram.Entry [javac] count += entry.count; [javac] ^ [javac] /home/th125165/Projects/Source/icedtea/netbeans/profiler/src/org/netbeans/modules/profiler/heapwalk/memorylint/Histogram.java:106: size has private access in org.netbeans.modules.profiler.heapwalk.memorylint.Histogram.Entry [javac] size += entry.size; [javac] ^ [javac] /home/th125165/Projects/Source/icedtea/netbeans/profiler/src/org/netbeans/modules/profiler/heapwalk/memorylint/Histogram.java:128: count has private access in org.netbeans.modules.profiler.heapwalk.memorylint.Histogram.Entry [javac] return o2.count - o1.count; [javac] ^ [javac] /home/th125165/Projects/Source/icedtea/netbeans/profiler/src/org/netbeans/modules/profiler/heapwalk/memorylint/Histogram.java:128: count has private access in org.netbeans.modules.profiler.heapwalk.memorylint.Histogram.Entry [javac] return o2.count - o1.count; [javac] ^ [javac] /home/th125165/Projects/Source/icedtea/netbeans/profiler/src/org/netbeans/modules/profiler/heapwalk/memorylint/Histogram.java:136: size has private access in org.netbeans.modules.profiler.heapwalk.memorylint.Histogram.Entry [javac] return o2.size - o1.size; [javac] ^ [javac] /home/th125165/Projects/Source/icedtea/netbeans/profiler/src/org/netbeans/modules/profiler/heapwalk/memorylint/Histogram.java:136: size has private access in org.netbeans.modules.profiler.heapwalk.memorylint.Histogram.Entry [javac] return o2.size - o1.size; [javac] ^ [javac] /home/th125165/Projects/Source/icedtea/netbeans/profiler/src/org/netbeans/modules/profiler/heapwalk/memorylint/Histogram.java:164: doAdd(T) has private access in org.netbeans.modules.profiler.heapwalk.memorylint.Histogram.Entry [javac] current.doAdd(entry); [javac] ^ [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 7 errors [javac] 3 warnings
Fixed in profiler-main. changeset: 132873:132045412524 user: Tomas Hurka <thurka@netbeans.org> date: Fri May 22 16:09:45 2009 +0200 summary: bugfix #165826, private fields of Entry are not accessible from E
Fixed broken build. changeset: 132874:80ca75d92193 user: Tomas Hurka <thurka@netbeans.org> date: Fri May 22 16:58:29 2009 +0200 summary: bugfix #165826, fixed broken build with JDK 5
Integrated into 'main-golden', will be available in build *200905230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/132045412524 User: Tomas Hurka <thurka@netbeans.org> Log: bugfix #165826, private fields of Entry are not accessible from E