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.
Summary: | Hint to generate unimplemented methods of an interface does not work -> java.lang.ClassCastException: com.sun.tools.javac.code.Type$ForAll cannot be cast to com.sun.tools.javac.code.Type$MethodType | ||
---|---|---|---|
Product: | java | Reporter: | markiewb |
Component: | Hints | Assignee: | Svata Dedic <sdedic> |
Status: | RESOLVED INCOMPLETE | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.0.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
markiewb
2015-01-30 09:32:24 UTC
Sorry I could not reproduce the defect using 8.0.2; the hint to implement all abstract methods appeared and its fix generated the method properly. public class Bug implements Callable { .. Could you attach the whole file, please ? Does the implemented interface exist ? if so, could you please attach the interface, too ? (In reply to Svata Dedic from comment #1) > Sorry I could not reproduce the defect using 8.0.2; the hint to implement > all abstract methods appeared and its fix generated the method properly. > > public class Bug implements Callable { > .. > > Could you attach the whole file, please ? Does the implemented interface > exist ? if so, could you please attach the interface, too ? I will give it a try, when I am back at work. |