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 116602

Summary: Ability to OR in instanceof clauses
Product: java Reporter: _ tboudreau <tboudreau>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ tboudreau 2007-09-25 02:30:41 UTC
Some potential templates can have arguments of different types which are not subtypes of each other.  A simple example is a template for a case statement - 
it can either be a java.util.Enum or a primitive type.

It would be nice to be able to specify, e.g.
${foo instanceof="java.util.Enum | $PRIMITIVE"}

or similar.  See also issue 116599.