You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bval.apache.org by "Matt Benson (JIRA)" <ji...@apache.org> on 2012/06/05 17:05:23 UTC

[jira] [Commented] (BVAL-106) Maven compilation fails on FeaturesCapable

    [ https://issues.apache.org/jira/browse/BVAL-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289472#comment-13289472 ] 

Matt Benson commented on BVAL-106:
----------------------------------

Hi, Eric.  I understand the dichotomy:  it comes down to whether a particular instance of a class should be able to access private members of different instances of the same class.  I don't have JDK7 available just at the moment, but I have a very similar version of JDK6:

{quote}
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-413-10M3623)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-413, mixed mode)
{quote}

This is on OS X, and 'mvn clean install' works fine for me.  Would you mind to try again on both your JDKs including the clean goal and update us with the results?  What OS are you using?

Thanks!
                
> 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