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 271444

Summary: OQL - concat function does not work with jdk 9
Product: profiler Reporter: Tomas Hurka <thurka>
Component: BaseAssignee: Tomas Hurka <thurka>
Status: RESOLVED FIXED    
Severity: normal Keywords: JDK_9
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Tomas Hurka 2017-09-07 08:55:43 UTC
I receive the following error "java.lang.RuntimeException: java.lang.ClassNotFoundException: com.sun.tools.hat.internal.util.CompositeEnumeration" when I try to use 'concat' function that returns a composite enumeration.
The java class CompositeEnumeration does not exist in jdk 9 because jhat was removed from JDK 9.
Comment 1 Tomas Hurka 2017-09-07 11:23:11 UTC
Fixed in profiler-main

changeset:   304054:03041866e423
user:        Tomas Hurka <thurka@netbeans.org>
date:        Thu Sep 07 13:21:53 2017 +0200
summary:     bugfix #271444, use org.openide.util.Enumerations instead of obsolete com.sun.tools.hat.internal.util.CompositeEnumeration
Comment 2 Quality Engineering 2017-09-08 01:45:05 UTC
Integrated into 'main-silver', will be available in build *201709080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/03041866e423
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #271444, use org.openide.util.Enumerations instead of obsolete com.sun.tools.hat.internal.util.CompositeEnumeration