JDK-8051467 : javac, additional test case for JDK-8051402
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8u40
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-07-21
  • Updated: 2015-01-21
  • Resolved: 2014-07-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8u40 b01Fixed
Related Reports
Relates :  
Description
This fix should add the following test case related to JDK-8051402: 

import java.util.List;

public abstract class CopyOfFilter {
  abstract <T> List<T> copyOf(List<? extends T> lx);
  abstract <E> List<E> filter(List<E> lx);

  <U> void f(List<U> lx) {
    copyOf(filter(lx)); // ok
  }

  void g(List<?> lx) {
    copyOf(filter(lx)); // ok
  }
}