Thu, 21 Feb 2013 14:43:51 -0800
8008405: Now that metafactory is in place, add javac lambda serialization tests
Summary: Tests part of original langtools serialization review.
Reviewed-by: mcimadamore
aoqi@0 | 1 | /* /nodynamiccopyright/ */ |
aoqi@0 | 2 | // combinations of methods defined in a base class |
aoqi@0 | 3 | // and overridden in subtypes |
aoqi@0 | 4 | |
aoqi@0 | 5 | // class should compile with warnings as shown |
aoqi@0 | 6 | |
aoqi@0 | 7 | class R extends Q { |
aoqi@0 | 8 | @Deprecated public void pDep_qDep_rDep() { } |
aoqi@0 | 9 | public void pDep_qDep_rUnd() { } // warn |
aoqi@0 | 10 | // public void pDep_qDep_rInh() { } |
aoqi@0 | 11 | @Deprecated public void pDep_qUnd_rDep() { } |
aoqi@0 | 12 | public void pDep_qUnd_rUnd() { } |
aoqi@0 | 13 | // public void pDep_qUnd_rInh() { } |
aoqi@0 | 14 | @Deprecated public void pDep_qInh_rDep() { } |
aoqi@0 | 15 | public void pDep_qInh_rUnd() { } // warn |
aoqi@0 | 16 | // public void pDep_qInh_rInh() { } |
aoqi@0 | 17 | @Deprecated public void pUnd_qDep_rDep() { } |
aoqi@0 | 18 | public void pUnd_qDep_rUnd() { } // warn |
aoqi@0 | 19 | // public void pUnd_qDep_rInh() { } |
aoqi@0 | 20 | @Deprecated public void pUnd_qUnd_rDep() { } |
aoqi@0 | 21 | public void pUnd_qUnd_rUnd() { } |
aoqi@0 | 22 | // public void pUnd_qUnd_rInh() { } |
aoqi@0 | 23 | @Deprecated public void pUnd_qInh_rDep() { } |
aoqi@0 | 24 | public void pUnd_qInh_rUnd() { } |
aoqi@0 | 25 | // public void pUnd_qInh_rInh() { } |
aoqi@0 | 26 | } |