Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings/error with Java 10 #80

Closed
julianoes opened this issue Sep 11, 2018 · 3 comments
Closed

Warnings/error with Java 10 #80

julianoes opened this issue Sep 11, 2018 · 3 comments
Labels

Comments

@julianoes
Copy link

With Java 10, we get a bunch of warnings and errors:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by javax.media.j3d.JoglPipeline (rsrc:j3dcore.jar) to method sun.awt.AppContext.getAppContext()
WARNING: Please consider reporting this to the maintainers of javax.media.j3d.JoglPipeline
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError
	at java.desktop/java.awt.Font.getStringBounds(Font.java:2603)
	at java.desktop/java.awt.Font.getStringBounds(Font.java:2517)
	at java.desktop/javax.swing.text.WrappedPlainView.updateMetrics(WrappedPlainView.java:445)
	at java.desktop/javax.swing.text.WrappedPlainView.setSize(WrappedPlainView.java:511)
	at java.desktop/javax.swing.plaf.basic.BasicTextUI$RootView.setSize(BasicTextUI.java:1815)
	at java.desktop/javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:942)
	at java.desktop/javax.swing.plaf.basic.BasicTextAreaUI.getPreferredSize(BasicTextAreaUI.java:121)
	at java.desktop/javax.swing.JComponent.getPreferredSize(JComponent.java:1680)
	at java.desktop/javax.swing.JTextArea.getPreferredSize(JTextArea.java:609)
	at java.desktop/javax.swing.text.JTextComponent.getScrollableTracksViewportHeight(JTextComponent.java:2107)
	at java.desktop/javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:812)
	at java.desktop/java.awt.Container.layout(Container.java:1535)
	at java.desktop/java.awt.Container.doLayout(Container.java:1524)
	at java.desktop/java.awt.Container.validateTree(Container.java:1720)
	at java.desktop/java.awt.Container.validate(Container.java:1655)
	at java.desktop/sun.awt.X11.XTextAreaPeer.setFont(XTextAreaPeer.java:393)
	at java.desktop/java.awt.Component.validate(Component.java:2934)
	at java.desktop/java.awt.Container.validateTree(Container.java:1738)
	at java.desktop/java.awt.Container.validate(Container.java:1655)
	at java.desktop/sun.awt.X11.XTextAreaPeer.setFont(XTextAreaPeer.java:393)
@julianoes julianoes added the bug label Sep 11, 2018
@julianoes julianoes self-assigned this Sep 11, 2018
@julianoes julianoes changed the title Warnings with Java 10 Warnings/error with Java 10 Sep 13, 2018
@gortium
Copy link

gortium commented May 12, 2019

Same thing with 11.

Does it work with 9?

@julianoes
Copy link
Author

As far as I know it works with Java 8.

@julianoes julianoes removed their assignment Mar 2, 2020
@julianoes
Copy link
Author

Don't care anymore, haven't used this in a long time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants