warning on windows 10
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 269
- Joined: Sat Jul 10, 2010 4:03 pm
warning on windows 10
When our sdk editor loads on windows 10 I see the following warning
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by ro.sync.ui.te (files:c:/Users/Scott/Desktop/ide/oxygen-21.0.0.0.jar) to field javax.swing.text.DefaultHighLighter.highlights
Scott
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by ro.sync.ui.te (files:c:/Users/Scott/Desktop/ide/oxygen-21.0.0.0.jar) to field javax.swing.text.DefaultHighLighter.highlights
Scott
-
- Posts: 9433
- Joined: Fri Jul 09, 2004 5:18 pm
Re: warning on windows 10
Hi Scott,
What Java version are you using to run the component? Indeed sometimes we are using reflection in our code and newer Java versions report this as a warning.
Regards,
Radu
What Java version are you using to run the component? Indeed sometimes we are using reflection in our code and newer Java versions report this as a warning.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 269
- Joined: Sat Jul 10, 2010 4:03 pm
Re: warning on windows 10
When loading the SDK on my linux box.
I thought this had been fixed in version 22.0?
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by ro.sync.ui.qe (file:/home/scott/.m2/repository/com/oxygenxml/oxygen/22.0.0.0/oxygen-22.0.0.0.jar) to field javax.swing.text.DefaultHighlighter.highlights
WARNING: Please consider reporting this to the maintainers of ro.sync.ui.qe
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
Scott
I thought this had been fixed in version 22.0?
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by ro.sync.ui.qe (file:/home/scott/.m2/repository/com/oxygenxml/oxygen/22.0.0.0/oxygen-22.0.0.0.jar) to field javax.swing.text.DefaultHighlighter.highlights
WARNING: Please consider reporting this to the maintainers of ro.sync.ui.qe
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
Scott
-
- Posts: 9433
- Joined: Fri Jul 09, 2004 5:18 pm
Re: warning on windows 10
Hi Scott,
Oxygen and its Author Component still show in the command line a couple of similar warnings when being run with Java 9 or newer.
I have issues logged on my side to remove these warnings. Honestly there are some warnings like this one you encountered which I'm not sure how I could resolve. For this I would need to copy and maintain on our side a bunch of classes from the Swing package, classes which may differ between Java versions. So I will probably postpone fixing these problems until Java removes completely the possibility to call by reflection methods from its packages.
Regards,
Radu
Oxygen and its Author Component still show in the command line a couple of similar warnings when being run with Java 9 or newer.
I have issues logged on my side to remove these warnings. Honestly there are some warnings like this one you encountered which I'm not sure how I could resolve. For this I would need to copy and maintain on our side a bunch of classes from the Swing package, classes which may differ between Java versions. So I will probably postpone fixing these problems until Java removes completely the possibility to call by reflection methods from its packages.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service