GitHub user geomacy opened a pull request:
https://github.com/apache/brooklyn-server/pull/684
Switch to Java 8
This updates the Java version to `1.8` and makes a couple of changes to get
Brooklyn to build again.
For demonstration purposes I've switched a `new Callable ...` in a
[BasicExecutionContext.java](https://github.com/apache/brooklyn-server/compare/master...geomacy:switch-to-java-8?expand=1#diff-1876d3c7b9d3cc5d485f7469b403e281R216)
to use a Java 8 lambda expression, really just to prove that it is Java 8!
(This was useful as it showed we needed to update the Checkstyle plugin to a
level that works with 8).
I've tested that Brooklyn runs in both classic and Karaf launchers, and can
successfully deploy a basic server couple of apps from Brooklyn Central, (a
three tier app and `brooklyn-etcd`).
There's a matching update to `brooklyn-ui`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/geomacy/brooklyn-server switch-to-java-8
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/684.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #684
----
commit def844a2a8cb44d8de74611635f0c8502cc76acb
Author: Geoff Macartney <[email protected]>
Date: 2017-05-18T15:34:11Z
Switch to Java 8
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---