public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/24792]  New: Inner interface's are not know inside package's
@ 2005-11-11 12:11 jakub at gcc dot gnu dot org
  2005-11-11 12:12 ` [Bug java/24792] " jakub at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-11-11 12:11 UTC (permalink / raw)
  To: java-prs

#!/bin/sh
mkdir test_pack
cat > test_pack/DisplayRenderer.java <<EOF
package test_pack;
import test_pack.StyledText.*;
class DisplayRenderer
{
  StyledText text;
  DisplayRenderer (StyledText parent)
  {
    text = parent;
  }
  protected void test ()
  {
    LineCache lineCache;
  }
}
EOF
cat > test_pack/StyledText.java <<EOF
package test_pack;
public class StyledText
{
  LineCache lineCache;
  public StyledText (int a)
  {
  }
  public LineCache getCache ()
  {
    return lineCache;
  }
  interface LineCache
  {
    public void calculate (int startLine, int lineCount);
  }
}
EOF
gcj -C test_pack/*.java

gives
test_pack/DisplayRenderer.java:12: error: Type 'LineCache' not found in the
declaration of the local variable 'lineCache'.
       LineCache lineCache;
       ^
1 error

Verified on HEAD.  For more details, see
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=172853


-- 
           Summary: Inner interface's are not know inside package's
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: aph at redhat dot com
        ReportedBy: jakub at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24792


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug java/24792] Inner interface's are not know inside package's
  2005-11-11 12:11 [Bug java/24792] New: Inner interface's are not know inside package's jakub at gcc dot gnu dot org
@ 2005-11-11 12:12 ` jakub at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-11-11 12:12 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from jakub at gcc dot gnu dot org  2005-11-11 12:12 -------
Oops.

*** This bug has been marked as a duplicate of 8544 ***


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24792


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-11 12:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-11 12:11 [Bug java/24792] New: Inner interface's are not know inside package's jakub at gcc dot gnu dot org
2005-11-11 12:12 ` [Bug java/24792] " jakub 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).