JetBrains / JetBrainsRuntime

Runtime environment based on OpenJDK for running IntelliJ Platform-based products on Windows, macOS, and Linux
GNU General Public License v2.0
1.35k stars 198 forks source link

Unable to make field protected final java.nio.channels.ReadableByteChannel sun.nio.ch.ChannelInputStream.ch accessible: module java.base does not "opens sun.nio.ch" to unnamed module #425

Open ninggf opened 3 months ago

ninggf commented 3 months ago

jbrsdk-17.0.10-windows-x64-b1207.6 AND jbrsdk_jcef-21.0.3-windows-x64-b509.4

Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field protected final java.nio.channels.ReadableByteChannel sun.nio.ch.ChannelInputStream.ch accessible: module java.base does not "opens sun.nio.ch" to unnamed module @57c758ac at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297) at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178) at java.base/java.lang.reflect.Field.setAccessible(Field.java:172) at org.hotswap.agent.util.ReflectionHelper.get(ReflectionHelper.java:150) at org.hotswap.agent.util.IOUtils.extractFileNameFromInputStream(IOUtils.java:176) at org.hotswap.agent.util.IOUtils.extractFileNameFromInputSource(IOUtils.java:220) at org.apache.ibatis.parsing.XPathParser.createDocument(XPathParser.java) at org.apache.ibatis.parsing.XPathParser.(XPathParser.java:127) at com.baomidou.mybatisplus.core.MybatisXMLMapperBuilder.(MybatisXMLMapperBuilder.java:87) at com.baomidou.mybatisplus.extension.spring.MybatisSqlSessionFactoryBean.buildSqlSessionFactory(MybatisSqlSessionFactoryBean.java:677) ... 56 common frames omitted