Main Menu
Login
SSL SecureMode
Username:
Password:  
Lost Password?
Register now!
ChangeVision Members Map
Search
Forum Index   -   Topic Index
   Bug information about Astah
     [Fixed in 6.7]Importing Self-Referencing Generics throws a stackoverflow error

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
webmaster
Posted on: 2013/1/9 6:14
Webmaster
Joined: 2006/4/27
From:
Posts: 287
[Fixed in 6.7]Importing Self-Referencing Generics throws a stackoverflow error
1. Product Version
- Astah Professional 6.6.4
- Astah UML 6.6.4

2. Description
A stackoverflow error happens when importing Self-referencing generics from [Tool] - [Java] - [Impor Java].








Sample Java Code that throws an error when importing:
abstract class Foo<E extends Foo<E>> {
}

3. Solution
Change the code as below to take off the self-reference to let Astah import it.
abstract class Foo<E extends Foo> {
}

4. Status
This bug will be fixed in the next release.

5. Bug ID
2562

PS: Thank you Martin for your detailed report on this issue.
Threaded | Newest First Previous Topic | Next Topic | Top