This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/28663] [4.2 regression] gcj fails to binary-compile eclipse's javac



------- Comment #10 from aph at gcc dot gnu dot org  2006-08-29 14:05 -------
class Psupersuper
{
}

class Psuper extends Psupersuper
{
}

class P extends Psuper
{
  Psupersuper barf()
  {
    return new P();
  }
}


class PR28663
{
  static Psuper arse ()
  {
    return (P)new P().barf();
  }
}


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]