Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup fails when nested classes are used #4

Open
Clashsoft opened this issue Dec 10, 2019 · 0 comments
Open

Cleanup fails when nested classes are used #4

Clashsoft opened this issue Dec 10, 2019 · 0 comments

Comments

@Clashsoft
Copy link

Clashsoft commented Dec 10, 2019

Example code:

public class HelloWorld {
  <T> HelloWorld() {
    class Foo {
      T get() { return null; }
    }
  }
}

Shows disassembled code:

Unable to cleanup.

I believe the error stems from this line:

Files.delete(userTmpDir)

It fails if there is more than one .class file, because the non-empty folder cannot be deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant