ASSERT-KTH / ASSERT-KTH/spork

Merging classes with nested classes fails with "Cannot compute access path" if anonymous package is used

Open
#76 1 comment 0 reactions 0 assignees View on GitHub
bug wontfix
Dominant language
Java
Stars
72
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Always, a SpoonException like this is thrown:

```
spoon.SpoonException: Cannot compute access path to type: Cls$CustomException in context of type: Cls
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the merge of classes with nested classes when an anonymous package is used, using the reported SpoonException as the failure point. Trace how the access path to Cls$CustomException is computed; done means the merge completes without the "Cannot compute access path" error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.