public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
* [Bug java/26617] New: A class from an unnamed package is visible to classes in named packages @ 2006-03-09 10:14 rmathew at gcc dot gnu dot org 2006-03-15 16:51 ` [Bug java/26617] " pinskia at gcc dot gnu dot org 2007-01-09 20:53 ` tromey at gcc dot gnu dot org 0 siblings, 2 replies; 3+ messages in thread From: rmathew at gcc dot gnu dot org @ 2006-03-09 10:14 UTC (permalink / raw) To: java-prs GCJ allows classes in named packages to see classes in unnamed packages. For example: ---- ./Snafu.java ---- public class Snafu { } ---------------------- ---- ./foo/Bar.java ---- package foo; // import Snafu; public class Bar { Snafu junk; } ------------------------ Note that GCJ accepts the code in "foo/Bar.java" with or without the line commenting out the import declaration. Both Jikes 1.22 and Sun's JDK 1.5.0_05 reject this code. -- Summary: A class from an unnamed package is visible to classes in named packages Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rmathew at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26617 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug java/26617] A class from an unnamed package is visible to classes in named packages 2006-03-09 10:14 [Bug java/26617] New: A class from an unnamed package is visible to classes in named packages rmathew at gcc dot gnu dot org @ 2006-03-15 16:51 ` pinskia at gcc dot gnu dot org 2007-01-09 20:53 ` tromey at gcc dot gnu dot org 1 sibling, 0 replies; 3+ messages in thread From: pinskia at gcc dot gnu dot org @ 2006-03-15 16:51 UTC (permalink / raw) To: java-prs ------- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-15 16:51 ------- Confirmed. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- OtherBugsDependingO| |13607 nThis| | Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |accepts-invalid Last reconfirmed|0000-00-00 00:00:00 |2006-03-15 16:51:13 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26617 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug java/26617] A class from an unnamed package is visible to classes in named packages 2006-03-09 10:14 [Bug java/26617] New: A class from an unnamed package is visible to classes in named packages rmathew at gcc dot gnu dot org 2006-03-15 16:51 ` [Bug java/26617] " pinskia at gcc dot gnu dot org @ 2007-01-09 20:53 ` tromey at gcc dot gnu dot org 1 sibling, 0 replies; 3+ messages in thread From: tromey at gcc dot gnu dot org @ 2007-01-09 20:53 UTC (permalink / raw) To: java-prs ------- Comment #2 from tromey at gcc dot gnu dot org 2007-01-09 20:48 ------- All gcj front end bugs have been fixed by the gcj-eclipse branch merge. I'm mass-closing the affected PRs. If you believe one of these was closed in error, please reopen it with a note explaining why. Thanks. -- tromey at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26617 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-01-09 20:53 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-03-09 10:14 [Bug java/26617] New: A class from an unnamed package is visible to classes in named packages rmathew at gcc dot gnu dot org 2006-03-15 16:51 ` [Bug java/26617] " pinskia at gcc dot gnu dot org 2007-01-09 20:53 ` tromey at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).