Skip to content

FileNotFound when read generated file #139

Open
@XDean

Description

@XDean

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3type=defectBug, not working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions