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 257858 - IllegalArgumentException: ? extends java.lang.Enum
Summary: IllegalArgumentException: ? extends java.lang.Enum
Status: RESOLVED INCOMPLETE
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-05 06:47 UTC by dathyrius
Modified: 2016-05-16 14:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 222393


Attachments
stacktrace (2.50 KB, text/plain)
2016-02-05 06:47 UTC, dathyrius
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dathyrius 2016-02-05 06:47:05 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.72-b15, Java(TM) SE Runtime Environment, 1.8.0_72-b15
OS: Mac OS X

User Comments:
dathyrius: Trying to generate a Variable for a return value




Stacktrace: 
java.lang.IllegalArgumentException: ? extends java.lang.Enum
   at com.sun.tools.javac.model.JavacTypes.getArrayType(JavacTypes.java:183)
   at org.netbeans.modules.java.hints.errors.Utilities.resolveCapturedTypeInt(Utilities.java:648)
   at org.netbeans.modules.java.hints.errors.Utilities.resolveCapturedType(Utilities.java:560)
   at org.netbeans.modules.java.hints.AssignResultToVariable$FixImpl$1.run(AssignResultToVariable.java:381)
   at org.netbeans.modules.java.hints.AssignResultToVariable$FixImpl$1.run(AssignResultToVariable.java:354)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:636)
Comment 1 dathyrius 2016-02-05 06:47:06 UTC
Created attachment 158384 [details]
stacktrace
Comment 2 Svata Dedic 2016-05-16 14:43:23 UTC
I'll need a sample of source code for reproduction. Please try to post some minimalistic one :)