diff --git a/org/gjt/sp/jedit/bsh/This.java b/org/gjt/sp/jedit/bsh/This.java index fa88efdb..c242c38c 100644 --- a/org/gjt/sp/jedit/bsh/This.java +++ b/org/gjt/sp/jedit/bsh/This.java @@ -79,6 +79,8 @@ static This getThis( { try { Class c; + + if ( Capabilities.canGenerateInterfaces() ) c = Class.forName( "org.gjt.sp.jedit.bsh.XThis" ); else if ( Capabilities.haveSwing() )