Eclipse does not allow you to access the details of the Sun implementation, as this will not be portable to other JVMs.
You can change the project settings so that Eclipse treats this type of problem as a warning and not as an error.
My actions for the latest Eclipse on Mac:
- - > Java - > / - > - > API - > :