From 0ed2bb546b64e3264ea95f71e5f1d76e5d86e8e8 Mon Sep 17 00:00:00 2001 From: vikrant-phadtare1101 Date: Mon, 25 Mar 2019 18:21:24 +0530 Subject: [PATCH] Update This.java --- org/gjt/sp/jedit/bsh/This.java | 2 ++ 1 file changed, 2 insertions(+) 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() )