cherry-pick upstream patch to resolve kotlin ftbfs
This MR resolves ftbfs in kotlin #1108573 and intellij idea ftbfs #1121873
The root cause - maximum Java version was set to 25. The upstream patch increases it to 50.
java25-public-access.patch changes access modifiers for getChars() method. The patch is not needed upstream as the class was moved and upstream embeds Java toolchain.
Changes:
- cherry-pick upstream patch to resolve kotlin ftbfs
- change access modifiers for overriden getChars() methods
Testing:
- build in default java 25 sid chroot, rebuild kotlin against the updated package
Edited by Vladimir Petko