[Bug java/8618] call to private constructor allowed for anonymous inner class
pinskia@physics.uc.edu
gcc-bugzilla@gcc.gnu.org
Sun May 25 23:11:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8618
pinskia@physics.uc.edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-05-25 23:06:35
date| |
------- Additional Comments From pinskia@physics.uc.edu 2003-05-25 23:06 -------
Confirmed bug on the mainline (20030525).
Even swaping them now does not work.
tin:~/src/gnu/gcctest/pr8614>gcj X.java Y.java --main=X
tin:~/src/gnu/gcctest/pr8614>gcj Y.java X.java --main=X
tin:~/src/gnu/gcctest/pr8614>javac *.java
X.java:5: Y() has private access in Y
new Y() { }; // should be illegal
^
X.java:5: Y() has private access in Y
new Y() { }; // should be illegal
^
2 errors
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Gcc-bugs
mailing list