[ nice-Bugs-1635444 ] protected Java superclass field not visible
"SourceForge.net" <[email protected]> Sun, 14 Jan 2007 15:21:58 -0800
| Newsgroups | gmane.comp.lang.nice.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1635444, was opened at 2007-01-14 15:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1635444&group_id=12788
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Isaac Gouy (igouy)
Assigned to: Nobody/Anonymous (nobody)
Summary: protected Java superclass field not visible
Initial Comment:
Java class BufferedInputStream has a field
protected volatile byte buf[];
import java.io.*;
void main(String[] args){
(new TestStream(System.in)).test();
}
class TestStream extends BufferedInputStream {
void test(){ println(buf); }
}
$ /opt/nice-0.9.12/bin/nicec --sourcepath .. -a t.jar nicetest
nice.lang: parsing
nicetest: parsing
~/tmp/nicetest/test.nice: line 8, column 25:
buf is not declared
compilation failed with 1 error
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1635444&group_id=12788
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV