Comments (10)
Hmm some more context, on a simpler project it does not crash but also does not apply the reloaded changes and prints
HOTSWAP AGENT: 22:34:47.539 ERROR (org.hotswap.agent.plugin.jdk.JdkPlugin) - classReload() exception No such field java.beans.Introspector.declaredMethodCache on null.
in the terminal. This error popped up on the original project as well.
from jetbrainsruntime.
You can ignore the HA error message. HA is not fully ported to java17 now. The crash seems more serious, is it reproducible?
from jetbrainsruntime.
It’s consistent in one project, doesn’t happen in another. Although in the latter case nothing is reloaded as far as I can tell.
from jetbrainsruntime.
Is it possible to describe steps how to reproduce it on your https://github.com/Minestom/Minestom
project?
from jetbrainsruntime.
git clone https://github.com/Minestom/Minestom
git checkout 529_extension_improvement
- (the rest in IntelliJ for convenience)
- Project/gradle jdk to JBR
- Debug
src/test/java/demo/Main
with-XX:HotswapAgent=fatjar
- Make an edit at
src/main/java/net/minestom/server/instance/InstanceContainer#L465
(for example a system print) - Recompile/reload
InstanceContainer.java
- Crash
This is consistent on my machine. The crash does not seem consistent at other locations. That one always crashes though.
from jetbrainsruntime.
@mworzala thanks for great report. I've fix now for it, it should be included in next release.
from jetbrainsruntime.
@mworzala before patch will be available, you can use -XX:-UseEmptySlotsInSupers
as a workaround for your issue.
from jetbrainsruntime.
Looks like that's working, thanks for the quick responses and patch!
I will close the issue for now, but if you could make a comment when the next release happens that would be great.
from jetbrainsruntime.
@skybber why did you reopened this issue? Is it not fixed yet?
from jetbrainsruntime.
already fixed in java17.
from jetbrainsruntime.
Related Issues (20)
- [JBR11 + dcevm] when an agent retransform the start method of java.lang.Thread, the jvm crash HOT 8
- InternalError when using mockito 5.3 with -XX:+AllowEnhancedClassRedefinition HOT 5
- Support JDK 21? HOT 9
- After migrating from travajdk to jbr17 redefineClasses fails with ObjectCollectedException HOT 21
- Descriptions on https://github.com/JetBrains/JetBrainsRuntime/releases are cut off HOT 1
- JbrResolver resolved jbr 21 to vanilla jbr instead of jcef jbr HOT 1
- Window corruption / magenta regions with Java OpenGL rendering enabled HOT 2
- where is the src.zip HOT 5
- This file is not the one used while building the shared archive file (modules) HOT 8
- Nigthtly builds HOT 1
- How is the full screen title bar hidden in the MacOS system implemented? It seems to be related to runtime, please see the picture. This issue has been bothering me for a long time HOT 1
- Crash on wayland HOT 3
- [solved] waybar does not display icon in wayland mode
- main branch build error on Macos HOT 2
- `jbrsdk-17.0.10-osx-aarch64-b1087.23` seems to be corrupt HOT 3
- JFXPanel in JavaFx into the Content of the ToolWindow HOT 1
- JBR Custom Window Decoration problem HOT 2
- libcef.so: ELF load command alignment not page-aligned HOT 3
- Tooltip when hovering over variables in debugging doesn't size correctly on Hyprland
- Flicker when changing focused window with Komorebi HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jetbrainsruntime.