Skip to content

Allow compilation as Java8 source and target (#3328)#4062

Merged
gianm merged 1 commit intoapache:0.10.0from
metamx:java8Testing-backport
Mar 15, 2017
Merged

Allow compilation as Java8 source and target (#3328)#4062
gianm merged 1 commit intoapache:0.10.0from
metamx:java8Testing-backport

Conversation

@leventov
Copy link
Copy Markdown
Member

  • Allow compilation as Java8 source and target for everything except API

  • Remove conditions in tests which assume that we may run with Java 7

  • Update easymock to 3.4

  • Make Animal Sniffer to check Java 1.8 usage; remove redundant druid-caffeine-cache configuration

  • Use try-with-resources in LargeColumnSupportedComplexColumnSerializerTest.testSanity()

  • Remove java7 special for druid-api

Backport of #3328

* Allow compilation as Java8 source and target for everything except API

* Remove conditions in tests which assume that we may run with Java 7

* Update easymock to 3.4

* Make Animal Sniffer to check Java 1.8 usage; remove redundant druid-caffeine-cache configuration

* Use try-with-resources in LargeColumnSupportedComplexColumnSerializerTest.testSanity()

* Remove java7 special for druid-api
@leventov leventov added this to the 0.10.0 milestone Mar 15, 2017
@ben-manes
Copy link
Copy Markdown

Does this mean that Caffeine could become the default in-memory cache since JDK8 is required?

@gianm
Copy link
Copy Markdown
Contributor

gianm commented Mar 15, 2017

I don't see why not, if it's always better than the default and doesn't bring in dependencies that would be difficult to deal with.

@gianm gianm merged commit f1fea7e into apache:0.10.0 Mar 15, 2017
@drcrallen drcrallen deleted the java8Testing-backport branch March 15, 2017 22:40
@drcrallen
Copy link
Copy Markdown
Contributor

@ben-manes its worked so well for us I forget it isn't the default :-P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants