albertogoffi / toradocu

Toradocu - automated generation of test oracles from Javadoc documentation
Other
42 stars 21 forks source link

Exception not found when using * on import #203

Closed gorla closed 6 years ago

gorla commented 6 years ago

Toradocu checks if an exception, declared to be thrown in a Javadoc comment, exists in the classpath. This check fails, leading to a false positive, if the source code imports the exception together with other classes of the same package (e.g. import java.io.*)

An example of such case is class: java.util.logging.SocketHandler

in the jdk 8