Comments (11)
from marlin-renderer.
I think what you are saying is that in 0.9.2 there are some changes to the same class that the Jetbrains JRE already hacked?
from marlin-renderer.
In Marlin 0.9.2, I added the following classes included in the optional marlin-0.9.2-Unsafe-sun-java2d.jar:
- sun.java2d.pipe.RenderQueue
- sun.java2d.opengl.OGLRenderQueue
JetBrains JRE includes patched RenderQueue (in some releases), so the conflict happens.
Finally, I will propose soon a new pull request to JetBrains JDK8u to upgrade to the latest Marlin renderer.
Depending on the JetBrains JRE you have, it already has either Marlin 0.7.5 or Marlin 0.9.1 (build > 1153.2).
from marlin-renderer.
Finally, I could package these specific RenderQueue classes into another jar file to avoid any conflict in the future.
What do you think ?
from marlin-renderer.
Packing them into another jar would help.
Also, I wasn't aware that the Jetbrains JRE had newer versions of marlin-renderer. I use their latest build > 1153.2.
from marlin-renderer.
I am preparing a pull request to Jetbrains JDK8 to upgrade Marlin 0.9.2 so I will not make any change on Marlin releases.
For Jetbrains JRE, do not include marlin-0.9.2-Unsafe-sun-java2d.jar as a workaround.
from marlin-renderer.
@bourgesl Thanks. Would you be able to add a note here when the PR gets accepted?
from marlin-renderer.
Pull request merged:
https://github.com/JetBrains/jdk8u_jdk/commits/master
from marlin-renderer.
@bourgesl It looks like the problem still persists - the issue is using -Xbootclasspath/p:C:\Programs\marlin\marlin-0.9.2-Unsafe-sun-java2d.jar
I'm using the latest build of intellij-jdk which contains your PR.
from marlin-renderer.
As explained before, Marlin releases provide 2 jars but you must use only marlin-0.9.2-Unsafe.jar with JetBrains JDK8.
Never put marlin-0.9.2-Unsafe-sun-java2d.jar !
or use only jetbrains jdk8 that already provide the Marlin renderer ...
from marlin-renderer.
Sorry, for some reason I was under the impression that once marlin 0.9.2 was merged into intellij-Jdk I could continue to use the marlin unsafe sun jar. Thanks for clearing that up.
from marlin-renderer.
Related Issues (20)
- Canvas support? HOT 1
- Marlin causes VisualVM to hang HOT 2
- Marlin 0.9.x hangs in busy infinite loop in Dasher.lineTo() drawing a large line HOT 12
- Will there be a v0.9.4 for JDK 9+? HOT 1
- Backport non-AA renderers from MarlinFX HOT 1
- Support Mantle and, on macOS support Metal HOT 1
- Enhance curve's cusp handling to fix self intersections in large stroked curves
- Thin lines in PDF not rendered HOT 13
- Update DPQS to latest OpenJDK 14 patch HOT 1
- Improve cubic curve offset computation HOT 2
- Skip draw joins if line/curve was splitted by dasher or strokerclipper HOT 1
- Using JFreeChart to draw chart but overlay occurs HOT 20
- Improve curve offsetting HOT 1
- https://bugs.openjdk.java.net/browse/JDK-8277574 HOT 1
- NoSuchMethodError: sun.java2d.marlin.MarlinProperties.isDoClip()Z HOT 3
- Help with installing Marlin-renderer HOT 9
- Detect constant shapes (slope = 0) to optimize scanline processing & tile generation HOT 2
- make Marlin renderer releases 0.9.4.6 HOT 3
- improve graphics2d impl to dump stats & record drawing commands
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 marlin-renderer.