[196] in java-interest
interfaces within a package
daemon@ATHENA.MIT.EDU (bert hobbs)
Mon Jun 5 20:24:24 1995
Date: Mon, 5 Jun 1995 16:25:05 -0700
From: bhobbs@sfhill.sfhill.org (bert hobbs)
To: java-interest@java.Eng.Sun.COM
It appears, that unless a protected interface within a package
is placed in its own .java file it will not be found by javac when
it used in another file. There is no .class file created for
an interface. Is this the expected behavior. If so, I would
be nice if javac generated a warning when a protected interface
in a package was not in its own file.
Javac is allowing but ignoring without warnings 'protected' in
the declaration of interface methods. This caused me some confusion.
bert
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com