Skip to content

Check for missing types in more positions #2651

@stephan-herrmann

Description

@stephan-herrmann

During #2543 we're discussing whether code around collectMissingTypes() is complete vis-a-vis today's Java.

More specifically @srikanth-sankaran asks:

For example in org.eclipse.jdt.internal.compiler.ClassFile.addAttributes() we are checking if super types and super interfaces are missing. But we don't check for and collect any missing types from permitted types - Should we ?

While changes in #2543 affected only MethodBinding.collectMissingTypes() details around TypeBinding.collectMissingTypes() may indeed be incomplete.

Metadata

Metadata

Labels

compilerEclipse Java Compiler (ecj) related issues

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions