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

Prefer javax.annotation.processing.Generated on Java 9 #978

Closed
wants to merge 1 commit into from
Closed

Prefer javax.annotation.processing.Generated on Java 9 #978

wants to merge 1 commit into from

Conversation

davido
Copy link

@davido davido commented Dec 10, 2017

Closes #880.

@ronshapiro
Copy link

We have to update our tests in the process too. I have a PR internally to do all of this, I'll send it out now

@ronshapiro ronshapiro closed this Dec 11, 2017
@ronshapiro
Copy link

Thanks for taking the initiative though!

generatedAnnotationAvailable = elements.getTypeElement("javax.annotation.Generated") != null;
Class<?> processor = null;
try {
processor = Class.forName("dagger.internal.codegen.ComponentProcessor.class");
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line should be:

  processor = Class.forName("dagger.internal.codegen.ComponentProcessor");

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

Successfully merging this pull request may close these issues.

3 participants