JDK-8039840 : Fix deficiencies in isSameType
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2014-04-09
  • Updated: 2014-11-12
  • Resolved: 2014-11-12
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 9
9Resolved
Related Reports
Blocks :  
Relates :  
Relates :  
Description
There are a few small deficiencies in Types.isSameType: they are:
isSameType is not reflexive or symmetric.
isSameType's two versions are not consistent in how they handle wildcards.
isSameType doesn't handle unknown types properly.

Comments
This has been subsumed by more general type system cleanups.
12-11-2014