JDK-6180369 : Make Symbol.CompletionFailure a checked exception
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 6
  • Priority: P5
  • Status: Resolved
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2004-10-18
  • Updated: 2016-07-28
  • Resolved: 2016-07-28
Related Reports
Relates :  
Description
com.sun.tools.javac.code.Symbol.completionFailure should be a checked exception.

This would help us provide better error messages in cases like 6180021
###@###.### 10/18/04 08:00 GMT

Comments
We tried this but the impact was way too pervasive to be acceptable.
28-07-2016

EVALUATION We should definitely consider this. Without this change, might sometimes crash if files are missing. These problems are very hard for the user to track down. ###@###.### 10/18/04 08:04 GMT
18-10-2004