Re: [Java Spec Report] Static contexts and local classes?
Neal Gafter <[email protected]> Thu, 15 Apr 2004 07:36:56 -0700
| Newsgroups | gmane.comp.java.spec-report |
|---|---|
| Message-ID | <[email protected]> |
Yes, it is well-formed. This is compiler bug 4994261.
Roly Perera wrote:
> Hi,
>
> Is the following well-formed?
>
> class Test2<A, B>
> {
> }
>
> public class Test
> {
> public static class Y<T, U>
> {
> void f ()
> {
> class X extends Test2<T, U> // static context?
> {
> }
> }
> }
> }
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/5cFolB/TM
---------------------------------------------------------------------~->
To unsubscribe from this mailing list, send an email to:
[email protected]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/java-spec-report/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/