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 243223 - StackOverflowError at com.sun.tools.javac.code.Types$SameTypeVisitor.visitClassType
Summary: StackOverflowError at com.sun.tools.javac.code.Types$SameTypeVisitor.visitCla...
Status: VERIFIED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-24 19:33 UTC by Exceptions Reporter
Modified: 2017-07-20 08:04 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 144275


Attachments
stacktrace (78.04 KB, text/plain)
2014-03-24 19:33 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-03-24 19:33:56 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132
OS: Windows 8

User Comments:
mps77: possible jdk8 bug...

mps77: possible jdk8 bug...

mps77: jdk8 or NB bug?

mps77: restart after full nb update

Leperous: Trying to implement a generic method inherited from an interface

mps77: GoToType (Ctrl+O). Actual file in editor: FooBar.java

FooBar.java
//start FooBar.java
class Alpha {

}

class Beta {

} 

class Gamma {

}

//end of FooBar.java

mps77: compile file

GUEST: A problem

mps77: long time ago..

mps77: javac : no error
netbeans : this exception...

mps77: :(

mps77: FooBar.java

final class Alpha {}
final class Beta {}
final class Gamma {}

mps77: :(




Stacktrace: 
java.lang.StackOverflowError
   at com.sun.tools.javac.code.Types$SameTypeVisitor.visitClassType(Types.java:1094)
   at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:763)
   at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4430)
   at com.sun.tools.javac.code.Types$LooseSameTypeVisitor.sameTypeVars(Types.java:1233)
   at com.sun.tools.javac.code.Types$SameTypeVisitor.visitType(Types.java:1111)
   at com.sun.tools.javac.code.Types$SameTypeVisitor.visitType(Types.java:1094)
Comment 1 Exceptions Reporter 2014-03-24 19:33:59 UTC
Created attachment 146275 [details]
stacktrace
Comment 2 Martin Balin 2016-07-07 07:16:14 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss