JDK-6458968 : com.sun.tools.javac.code.Symbol$CompletionFailure is thrown from the API calls
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2006-08-10
  • Updated: 2011-02-16
  • Resolved: 2006-08-10
Related Reports
Duplicate :  
Description
If some class files are missing on the classpath, com.sun.tools.javac.code.Symbol$CompletionFailure is thrown from the javac API calls instead of returning null, ErrorType, ...

Run the test application and see its source attached.