Room (possibly others) dont seem to compile with Java 8
See original GitHub issueI am getting this error specifically by trying to use kotlin with Room, but I assume this would also occur if you are using Java 8 in your source code.
The error is: Warning:warning: Supported source version 'RELEASE_7' from annotation processor 'android.arch.persistence.room.RoomProcessor' less than -source '1.8'
and seems to be from a use of @SupportedSourceVersion
which specifies “the latest source version an annotation processor supports”? Is this expected? Do we need to wait for the full 1.0 release for it to be fully supported?
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (1 by maintainers)
Top Results From Across the Web
Room (possibly others) dont seem to compile with Java 8 #35
I am getting this error specifically by trying to use kotlin with Room, but I assume this would also occur if you are...
Read more >Maven is not working in Java 8 when Javadoc tags are ...
Some of the projects I am trying to compile and install in my local repository are third party projects from which I do...
Read more >Java 9+ modularity: The difficulties and pitfalls of migrating ...
Run your application before recompiling. Try running your application on the latest JDK release. Most code and libraries should work on JDK 12+ ......
Read more >JDK-8006952 CodeCacheFlushing degenerates VM ... - Bug ID
A clear symptom is when the VM has stopped compiling even though it reports it has enough free code cache. The problem is...
Read more >Chapter 1, Getting Started: Compiling, Running, and Debugging
This chapter covers some entry-level tasks that you need to know how to do before you can go on—it is said you must...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Would be nice if there were a Gradle flag we could use to turn this warning off…it’s the only warning in our project build 😦
Yes, it is just a warning. Should not be a problem.