Hello,
we have an issue with the JDK 25. The Bug-Fix JDK-8024695
<https://bugs.openjdk.org/browse/JDK-8024695> (new File("").exists()) for
JDK 25 is a breaking change for us. Because the function shows another
behavior now.
jdk-24 and below: new File("").exists() return false.
jdk-25: new File("").exists() return true, because "" is now the current
working directory
Tomcat 9 to 11 have 150 code points where File.exists() is used.
Can this fix be a problem for Tomcat 9 up to 11, if any variable is an
empty string ?
I have created a Bug-Ticket JDK-8370216, that is open for discussion. I hope
What is your view on this topic and the further development of Tomcat.
Do you recommend JDK-25 for Tomcat 9 up to 11
Best regards
Erwin Stadlbauer
The information in this e-mail is confidential. The contents may not be
disclosed or used by anyone other than the addressee. Access to this e-mail by
anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and
delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of
this e-mail as it has been sent over public networks. If you have any concerns
over the content of this message or its Accuracy or Integrity, please contact
Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus
scanning software but you should take whatever measures you deem to be
appropriate to ensure that this message and any attachments are virus free.