[Bug java/13098] New: accepts invalid code referencing package only constructor
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Nov 18 05:50:00 GMT 2003
try to compile this, gcj should reject this.
t/t.java:
package t;
public class t
{
t(){}
}
test.java:
import t.t;
class test {
public static void main(String argv[]) {
t b = new t();
}
}
--
Summary: accepts invalid code referencing package only
constructor
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,s28patel at student dot
math dot uwaterloo dot ca
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13098
More information about the Gcc-bugs
mailing list