albertogoffi / toradocu

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

stray semi-colon in generated condition #122

Open bjkeller opened 7 years ago

bjkeller commented 7 years ago

Several of the classes in javax.swing from OpenJDK8 have the uncompilable condition "(target.WHEN_IN_FOCUSED_WINDOW instanceof ComponentInputMap;) == false && (map instanceof ComponentInputMap;) == false || (condition==1) == false". Notice the semi-colon.

This is extracted from a @throws "if condition is WHEN_IN_FOCUSED_WINDOW and map is not an instance of ComponentInputMap; or if condition is not one of the legal values specified above". As best I can tell, this is coming from javax.swing.JComponent.