framework icon indicating copy to clipboard operation
framework copied to clipboard

Upgrade dom4j to avoid warning related to Java 9

Open basil-bourque opened this issue 8 years ago • 5 comments

Building the project created by the multi-module archetype results in this warning:

WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.dom4j.io.SAXContentHandler (file:/Users/basilbourque/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar) to method com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$LocatorProxy.getEncoding() WARNING: Please consider reporting this to the maintainers of org.dom4j.io.SAXContentHandler 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

Some googling leads me to believe this relates to a Java 9 problem in earlier versions of the dom4j project. According to this Issue # 499:

https://github.com/spotbugs/spotbugs/issues/499

version 2.1.0 of dom4j max resolve the issue.

⇒ Consider upgrading the spotbugs library from one using dom4j 1.6.1 to one using dom4j 2.1.0 or later.

My environment: Vaadin Framework 8.2.0, Oracle JDK for macOS version 9.0.1, macOS Sierra, IntelliJ 2017.3.

basil-bourque avatar Jan 06 '18 22:01 basil-bourque

Hello there!

It looks like this issue hasn't progressed lately. There are so many issues that we just can't deal them all within a reasonable timeframe.

There are a couple of things you could help to get things rolling on this issue (this is an automated message, so expect that some of these are already in use):

  • Check if the issue is still valid for the latest version. There are dozens of duplicates in our issue tracker, so it is possible that the issue is already tackled. If it appears to be fixed, close the issue, otherwise report to the issue that it is still valid.
  • Provide more details how to reproduce the issue.
  • Explain why it is important to get this issue fixed and politely draw others attention to it e.g. via the forum or social media.
  • Add a reduced test case about the issue, so it is easier for somebody to start working on a solution.
  • Try fixing the issue yourself and create a pull request that contains the test case and/or a fix for it. Handling the pull requests is the top priority for the core team.
  • If the issue is clearly a bug, use the Warranty in your Vaadin subscription to raise its priority.

Thanks again for your contributions! Even though we haven't been able to get this issue fixed, we hope you to report your findings and enhancement ideas in the future too!

stale[bot] avatar Jun 05 '18 23:06 stale[bot]

related to #10737

elmot avatar Jun 11 '18 07:06 elmot

Hello there!

We are sorry that this issue hasn't progressed lately. We are prioritizing issues by severity and the number of customers we expect are experiencing this and haven't gotten around to fix this issue yet.

There are a couple of things you could help to get things rolling on this issue (this is an automated message, so expect that some of these are already in use):

  • Check if the issue is still valid for the latest version. There are dozens of duplicates in our issue tracker, so it is possible that the issue is already tackled. If it appears to be fixed, close the issue, otherwise report to the issue that it is still valid.
  • Provide more details how to reproduce the issue.
  • Explain why it is important to get this issue fixed and politely draw others attention to it e.g. via the forum or social media.
  • Add a reduced test case about the issue, so it is easier for somebody to start working on a solution.
  • Try fixing the issue yourself and create a pull request that contains the test case and/or a fix for it. Handling the pull requests is the top priority for the core team.
  • If the issue is clearly a bug, use the Warranty in your Vaadin subscription to raise its priority.

Thanks again for your contributions! Even though we haven't been able to get this issue fixed, we hope you to report your findings and enhancement ideas in the future too!

stale[bot] avatar Nov 08 '18 08:11 stale[bot]

Hi! ... I tried to reproduce the issue, but couldn't.

These are the steps that I did in order to reproduce it:

  1. Created archetype by:
    1. Execute mvn archetype:generate
    2. Filter list by using term "vaadin"
    3. Selected archetype 10: "com.vaadin:vaadin-archetype-application-multimodule"
    4. Selected vesion 70 (8.2.0)
  2. Setting maven to use java 9
  3. Executed mvn clean install

The build ended without warnings. I also noticed that dom4j is not in the dependency tree.

Am I doing something wrong or missing something?

mlopezFC avatar Apr 27 '20 16:04 mlopezFC

Hello there!

We are sorry that this issue hasn't progressed lately. We are prioritizing issues by severity and the number of customers we expect are experiencing this and haven't gotten around to fix this issue yet.

There are a couple of things you could help to get things rolling on this issue (this is an automated message, so expect that some of these are already in use):

  • Check if the issue is still valid for the latest version. There are dozens of duplicates in our issue tracker, so it is possible that the issue is already tackled. If it appears to be fixed, close the issue, otherwise report to the issue that it is still valid.
  • Provide more details how to reproduce the issue.
  • Explain why it is important to get this issue fixed and politely draw others attention to it e.g. via the forum or social media.
  • Add a reduced test case about the issue, so it is easier for somebody to start working on a solution.
  • Try fixing the issue yourself and create a pull request that contains the test case and/or a fix for it. Handling the pull requests is the top priority for the core team.
  • If the issue is clearly a bug, use the Warranty in your Vaadin subscription to raise its priority.

Thanks again for your contributions! Even though we haven't been able to get this issue fixed, we hope you to report your findings and enhancement ideas in the future too!

stale[bot] avatar Oct 04 '20 03:10 stale[bot]