river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Reedy <dennis.re...@gmail.com>
Subject Re: [jira] [Created] (RIVER-417) com.sun.jini.outrigger.FastList fails to compile using Java 7
Date Sat, 09 Feb 2013 14:40:46 GMT

On Feb 9, 2013, at 1219AM, Peter Firmstone wrote:

> Dennis Reedy wrote:
>> On Feb 8, 2013, at 1055PM, Peter Firmstone wrote:
>> 
>> 
>>> Dennis Reedy (JIRA) wrote:
>>> 
>>>> Dennis Reedy created RIVER-417:
>>>> ----------------------------------
>>>> 
>>>>           Summary: com.sun.jini.outrigger.FastList fails to compile using
Java 7
>>>>               Key: RIVER-417
>>>>               URL: https://issues.apache.org/jira/browse/RIVER-417
>>>>           Project: River
>>>>        Issue Type: Bug
>>>>          Reporter: Dennis Reedy
>>>> 
>>>> 
>>>> Inner class Node has private properties that are accessed by inner class
FastListIteratorImpl
>>>> 
>>>> --
>>>> This message is automatically generated by JIRA.
>>>> If you think it was sent incorrectly, please contact your JIRA administrators
>>>> For more information on JIRA, see: http://www.atlassian.com/software/jira
>>>> 
>>>> 
>>> Are you sure?     
>> 
>> Yes.
>> 
>> 
>>> Which version?
>>> 
>> 
>> 
>> java -version
>> java version "1.7.0_13"
>> Java(TM) SE Runtime Environment (build 1.7.0_13-b20)
>> Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
>> 
> Compiles with 1.7.0_04-b20

I'm wondering if it's really just not just latest Java release (1.7.0_13). I issue with Levels
and now this

> 
> Can you do me a favour and show the the compiler output?

[javac] /Users/dreedy/dev/src/projects/river/river-2.2/src/com/sun/jini/outrigger/FastList.java:156:
error: remove() has private access in Node
   [javac]                 removable.remove();
   [javac]                          ^
   [javac] /Users/dreedy/dev/src/projects/river/river-2.2/src/com/sun/jini/outrigger/FastList.java:174:
error: index has private access in Node
   [javac]                 if (node.index >= index) {
   [javac]                         ^
   [javac] /Users/dreedy/dev/src/projects/river/river-2.2/src/com/sun/jini/outrigger/FastList.java:216:
error: list has private access in Node
   [javac]             if (node.list == null) {
   [javac]                     ^
   [javac] /Users/dreedy/dev/src/projects/river/river-2.2/src/com/sun/jini/outrigger/FastList.java:217:
error: list has private access in Node
   [javac]                 node.list = this;
   [javac]                     ^
   [javac] /Users/dreedy/dev/src/projects/river/river-2.2/src/com/sun/jini/outrigger/FastList.java:223:
error: index has private access in Node
   [javac]         node.index = nextIndex.getAndIncrement();
   [javac]             ^
   [javac] /Users/dreedy/dev/src/projects/river/river-2.2/src/com/sun/jini/outrigger/FastList.java:238:
error: list has private access in Node
   [javac]             if (node.list != this) {
   [javac]                     ^
   [javac] /Users/dreedy/dev/src/projects/river/river-2.2/src/com/sun/jini/outrigger/FastList.java:242:
error: remove() has private access in Node
   [javac]             return node.remove();
   [javac]                        ^
   [javac] /Users/dreedy/dev/src/projects/river/river-2.2/src/com/sun/jini/outrigger/FastList.java:255:
error: index has private access in Node
   [javac]             if (node.index >= stopIndex) {



Mime
View raw message