Re: Java 21 for jEdit ?

"Matthieu Casanova" <[email protected]> Fri, 06 Oct 2023 17:44:08 +0200
Newsgroups gmane.editors.jedit.devel
Message-ID <[email protected]>
I am on Windows,
maybe it changes something.

-- 
  Matthieu Casanova
  [email protected]


Jeu 05 oct 2023, à 21:30, Robert Schwenn a écrit :
> Hi,
> 
> yes, I just tried with my usual jEdit package and run into the error with Adoptium Java 17.0.8.1 and jdk-20.0.2+9. BUT, if I use a pur jedit 5.6 install without plugins and settings, the test macro runs fine with these jdk's. Obviously I hadn't double checked last year :-(
> 
> Now it seems, that a combination of actual jdk and some plugin or setting is causing the exception. I'll take a deeper look.
> 
> Robert
> 
> 
> 
> Am 04.10.2023 um 22:10 schrieb Matthieu Casanova:
>> Hey,
>> are you able to reproduce it today ?
>> I tried with a macro
>> 
>> sb.bsh containing
>> 
>> StringBuilder sb = new StringBuilder();
>> sb.append("test");
>> System.out.println(sb.toString());
>> 
>> I run it with Java 17.0.8.1 (Adoptium) and it works.
>> I tried to recompile jEdit with that same JDK and ran jEdit and the test and it also worked.
>> Did I miss something or maybe someone fixed the bug already?
>> 
>> As Dale told it seems we will not be able to upgrade Beanshell because of their licence change so we have the choice to find another alternative that would be compatible with GPL (I don't know any), otherwise we might try to solve the problem ourselves in our version of Beanshell.
>> 
>> -- 
>>   Matthieu Casanova
>>   [email protected]
>> 
>> 
>> Mer 04 oct 2023, à 22:03, Dale Anson a écrit :
>>> I believe it's in the same place it was last year. It isn't hard to upgrade the integrated beanshell to a newer, java 17+ compatible version, but there is still the GPL vs Apache license issue which hasn't been worked out.
>>> 
>>> On Wed, Oct 4, 2023 at 1:40 PM Robert Schwenn <[email protected]> wrote:
>>>> 
>>>> Hi,
>>>> 
>>>> do You have in mind that there's a issue with integrated beanshell (https://sourceforge.net/p/jedit/bugs/4118/) not being compatible with java 17 (and presumably later)? Or is it fixed already (or a mistake)?
>>>> 
>>>> Robert
>>>> 
>>>> 
>>>> 
>>>> Am 02.10.2023 um 23:27 schrieb Matthieu Casanova:
>>>>> Hey,
>>>>> we missed java 17 and are still on java 11. Java 21 arrived and it is LTS, I think it would be nice that the next version of jEdit (after 5.7 release) would be java 21 which brings a lot of nice features especially virtual threads.
>>>>> Anyone against it ?
>>>>> 
>>>>> Matthieu
>>>>> 
>>>> 
>>>> --
>>>> -----------------------------------------------
>>>> jEdit Developers' List
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/jedit-devel
>>> 
>>> -- 
>>> -----------------------------------------------
>>> jEdit Developers' List
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/jedit-devel
>>> 
>> 
> 
> 
> -- 
> Mit freundlichen Grüßen
> Robert Schwenn
> Augustusweg 10a
> 01445 Radebeul
> 0152 / 26 24 25 97
> 
> -- 
> -----------------------------------------------
> jEdit Developers' List
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jedit-devel
>

-- 
-----------------------------------------------
jEdit Developers' List
[email protected]
https://lists.sourceforge.net/lists/listinfo/jedit-devel