[ https://issues.apache.org/jira/browse/BVAL-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13290146#comment-13290146
]
Eric Charles commented on BVAL-106:
-----------------------------------
Who said generics were easy? Even its creator is sometimes wondering about it (didn't find
the article, but this one is close to the one I read http://www.artima.com/weblogs/viewpost.jsp?thread=222021)
Anyway, your fix in http://svn.apache.org/viewvc?view=revision&revision=1346870 sounds
better than mine.
Trunk is now building with JDK7 on Ubuntu (try once you have a chance with JDK7 on MacOSX,
you may have surprises... I had a few before I installed Ubuntu on my MacBookPro).
Thx Matt,
Eric
> Maven compilation fails on FeaturesCapable
> ------------------------------------------
>
> Key: BVAL-106
> URL: https://issues.apache.org/jira/browse/BVAL-106
> Project: BVal
> Issue Type: Bug
> Components: build
> Affects Versions: 0.5
> Reporter: Eric Charles
> Attachments: BVAL-106.patch
>
>
> I receive the following error when I invoke 'mvn install' current trunk (Last Changed
Rev: 1311512)
> [ERROR] /d/bval.svn/bval-core/src/main/java/org/apache/bval/model/FeaturesCapable.java:[148,14]
error: features has private access in FeaturesCapable
> [ERROR] /d/bval.svn/bval-core/src/main/java/org/apache/bval/model/FeaturesCapable.java:[149,14]
error: features has private access in FeaturesCapable
> [ERROR] /d/bval.svn/bval-core/src/main/java/org/apache/bval/model/FeaturesCapable.java:[151,18]
error: validations has private access in FeaturesCapable
> [INFO] 3 errors
> This occurs on Ubuntu with JDK7 and JDK6
> java -version
> java version "1.7.0_04-ea"
> Java(TM) SE Runtime Environment (build 1.7.0_04-ea-b17)
> Java HotSpot(TM) 64-Bit Server VM (build 23.0-b18, mixed mode)
> java -version
> java version "1.6.0_31"
> Java(TM) SE Runtime Environment (build 1.6.0_31-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
|