GitHub user ahgittin opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/497
More fixes for Java7 pure javac build
Meant to be a part of #489 but got left off! I think this is preferred
over #493 because it keeps the visibility nice.
@andreaturli can you try this?
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ahgittin/incubator-brooklyn
maven-javac-purity-2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/497.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 #497
----
commit e5b790920de08f2eb3644185a6f9cf7723243cd3
Author: Alex Heneveld <[email protected]>
Date: 2015-01-30T13:15:39Z
Revert "fix maven javac purity on JDK7"
This reverts commit d4ecbe7e7190b504461645ace6c7242c57418e9b.
Oops there was a better fix which I did not commit.
commit 4963e17e9eae57470e8fd47b0af18cd4b6a7cb07
Author: Alex Heneveld <[email protected]>
Date: 2015-01-29T13:16:46Z
changes to the camp builder to support pure-javac 1.7 compilation
the root cause was (from
http://docs.oracle.com/javase/tutorial/java/javaOO/nested.html):
> Non-static nested classes (inner classes) have access to other members of
the enclosing class, even if they are declared private. Static nested classes
do not have access to other members of the enclosing class.
----
---
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.
---