google / google/compile-testing

FileNotFound when read generated file

Open
#139 0 comments 4 reactions 0 assignees View on GitHub
P3 type=defect
Dominant language
Java
Stars
722
Forks
129
Avg merge
11m
Merged PRs (30d)
4

Description

I create a file in processor. And it does exists in the `Compilation.generatedFiles`

`mem:///CLASS_OUTPUT/META-INF/xdean/annotation/MethodRef`

But when I try to read the content, FileNotFoundException happened.

```
java.io.FileNotFoundException
at com.google.testing.compile.InMemoryJavaFileManager$InMemoryJavaFileObject.getCharContent(InMemoryJavaFileManager.java:181)
...
```

I'm using compile-testing:0.13.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.