I've updated from JDK 8 (jdk8u265-b01) to JDK11 (jdk-11.0.9.1+1) 
Now I see in the log:
WARNING: Illegal reflective access by 
com.thoughtworks.xstream.core.util.Fields 
(file:/var/fpwork/ltedlphy/jenkinsCurrent/home/war/WEB-INF/lib/xstream-1.4.7-jenkins-1.jar)
 
to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of 
com.thoughtworks.xstream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
*WARNING: All illegal access operations will be denied in a future release*

It is not just this one specifc message, there are other similar ones.
This sounds like a ticking bomb...
Can I do something about this ? Opening tickets ?
Are my worries unfounded ?

Regards

Martin

[email protected] schrieb am Freitag, 11. Dezember 2020 um 22:28:38 UTC+1:

> Agreed with Richard. 
>
> Plus we literally have a thread on the dev list that's less than 10 days 
> old, where we discussed bumping the minimum requirement to Java 11.
>
> IOW, I'd recommend defaulting to Java 11 unless you've got very compelling 
> reasons to run Java 8.
> This way, when the requirement gets bumped, at some point (no date yet), 
> this will be a no-event for you :-). (or will be facing a wall if you chose 
> Java 8).
>
> Cheers
>
> Le ven. 11 déc. 2020 à 22:22, Richard Bywater <[email protected]> a 
> écrit :
>
>> Personally if you are starting from a new Jenkins version then I'd go 
>> JDK11 unless you hit some strange edge-case issue where you might need to 
>> roll it back to JDK8.
>>
>> Although JDK8 isn't going anywhere in the short term its probably best to 
>> keep with the newest LTS version of Java to not make the upgrade someone 
>> else's problem down the line 😀
>>
>> Richard.
>>
>> On Fri, 11 Dec 2020, 11:00 PM [email protected], <[email protected]> 
>> wrote:
>>
>>> Hello,
>>> I'm trying to decide, whether I should use JDK8 or JDK11 to run Jenkins.
>>> So far I have been using JDK8.
>>>
>>> If I look at the documentation, I find:
>>>
>>> "Installing Jenkins" https://www.jenkins.io/doc/book/installing/
>>> points to 
>>> "Java Requirements" 
>>> https://www.jenkins.io/doc/administration/requirements/java/
>>> which says
>>>
>>>    - 
>>>    
>>>    "Java 8 runtime environments, both 32-bit and 64-bit versions are 
>>>    supported"
>>>    - 
>>>    
>>>    "Since Jenkins 2.164 and 2.164.1 [1 
>>>    
>>> <https://www.jenkins.io/doc/administration/requirements/java/#_footnotedef_1>
>>>    ], Java 11 runtime environments are supported
>>>    - 
>>>       
>>>       Running Jenkins with Java 11 is documented here 
>>>       
>>> <https://www.jenkins.io/doc/administration/requirements/jenkins-on-java-11>
>>>       - 
>>>       
>>>       There are some precautions to take when upgrading from Java 8 to 
>>>       Java 11 in Jenkins, please follow these guidelines 
>>>       
>>> <https://www.jenkins.io/doc/administration/requirements/upgrade-java-guidelines>
>>>       ."
>>>       
>>> So this sounds like "both JDK8 and JDK11 are supported"
>>> But the "fine print" below JDK11 sounds different:
>>>
>>> https://www.jenkins.io/doc/administration/requirements/upgrade-java-guidelines/
>>>
>>> So what is the current recommendation:
>>> Use JDK8 ? JDK11 ?
>>> Give JDK11 a try and report issues ?
>>> Is an update planned to make JDK11 the preferred version ?
>>>
>>> Regards
>>>
>>> Martin
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Jenkins Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jenkinsci-users/8b37283f-47d9-495b-9086-2b8bd003876an%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/jenkinsci-users/8b37283f-47d9-495b-9086-2b8bd003876an%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jenkins Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/CAAy0hwc2d-FCOawn%3D1VGoWOa9mnUuyDczKPNj3tKRmyeTeLCJA%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/jenkinsci-users/CAAy0hwc2d-FCOawn%3D1VGoWOa9mnUuyDczKPNj3tKRmyeTeLCJA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/74083c2f-3f30-4b47-b4ac-87947932ecfen%40googlegroups.com.

Reply via email to