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

Upgrade to Java 8 - using caffeine #479

Merged
merged 1 commit into from
Jan 28, 2017
Merged

Conversation

ben-manes
Copy link
Contributor

Set the compiler to 1.8 (defaults to 1.5). This does not change code patterns, as still valid and style is a team choice. Switched from Guava's cache to Caffeine as requested.

@@ -202,6 +202,8 @@
<configuration>
<!-- Slightly faster builds, see https://issues.apache.org/jira/browse/MCOMPILER-209 -->
<useIncrementalCompilation>false</useIncrementalCompilation>
<source>1.8</source>
Copy link
Member

Choose a reason for hiding this comment

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

One change. If you go up to properties, you will see the java version settings there. Those control it across the board, so please set it there. Otherwise, I'm blown away. I didn't expect such a quick response or realize just quite how easy this was. So thank you so very much!

here is what should be changed instead for compiler.

        <maven.compiler.source>1.7</maven.compiler.source>
        <maven.compiler.target>1.7</maven.compiler.target>
        <maven.compiler.testSource>1.7</maven.compiler.testSource>
        <maven.compiler.testTarget>1.7</maven.compiler.testTarget>

All to 1.8 works.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks. I assume this is signature.artifact is Animal Sniffer? Upgraded it as well.

<signature.artifact>java18</signature.artifact>

Copy link
Member

Choose a reason for hiding this comment

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

cool thanks. you have sparked a fire. I'm going to go ahead and start on 1.9. I aleady had a 1.8.x branch saved off so I'll just cherry pick for needs over there. Appreciate it very much!

@hazendaz hazendaz changed the title Upgrade to Java 8 Upgrade to Java 8 - using caffeine Jan 28, 2017
@hazendaz hazendaz merged commit 3621ab5 into Waffle:master Jan 28, 2017
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

Successfully merging this pull request may close these issues.

2 participants