[Bug 61564] New: Illegal reflective access by org.apache.poi.util.DocumentHelper in Java 9

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 61564] New: Illegal reflective access by org.apache.poi.util.DocumentHelper in Java 9

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61564

            Bug ID: 61564
           Summary: Illegal reflective access by
                    org.apache.poi.util.DocumentHelper in Java 9
           Product: POI
           Version: unspecified
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: POI Overall
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

WARNING: Illegal reflective access by org.apache.poi.util.DocumentHelper
(file:/tika-eval-1.17-SNAPSHOT.jar) to method
com.sun.org.apache.xerces.internal.util.SecurityManager.setEntityExpansionLimit(int)

I should have caught this before the 3.17 release...oh, well.  4.0.0 is just
around the corner, right? :)

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61564] Illegal reflective access by org.apache.poi.util.DocumentHelper in Java 9

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61564

Javen O'Neal <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Javen O'Neal <[hidden email]> ---
Sounds like a 3.17.1 might be in order.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61564] Illegal reflective access by org.apache.poi.util.DocumentHelper in Java 9

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61564

PJ Fanning <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |61575


Referenced Bugs:

https://bz.apache.org/bugzilla/show_bug.cgi?id=61575
[Bug 61575] OpenXML4JRuntimeException when closing OPCPackage
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61564] Illegal reflective access by org.apache.poi.util.DocumentHelper in Java 9

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61564

PJ Fanning <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |61572


Referenced Bugs:

https://bz.apache.org/bugzilla/show_bug.cgi?id=61572
[Bug 61572] Illegal reflective access by
org.apache.poi.openxml4j.util.ZipSecureFile in Java 9
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61564] Illegal reflective access by org.apache.poi.util.DocumentHelper in Java 9

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61564

PJ Fanning <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|61575                       |


Referenced Bugs:

https://bz.apache.org/bugzilla/show_bug.cgi?id=61575
[Bug 61575] OpenXML4JRuntimeException when closing OPCPackage
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61564] Illegal reflective access by org.apache.poi.util.DocumentHelper in Java 9

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61564

--- Comment #2 from Dominik Stadler <[hidden email]> ---
Similar to bug 61572, this one also is caused by reflection usage and only
causes an output to stderr as far as I see.

Some of these reflection usages are needed in 3.x to allow to run/compile
against Java 6, 7 and 8 as some internal JDK functionality is different across
versions.

So let's first investigate if we can get rid of reflection here after we moved
to Java 8 in 4.0 and if we may keep the warning in for 3.17.

See
https://stackoverflow.com/questions/46230413/jdk9-an-illegal-reflective-access-operation-has-occurred-org-python-core-pysys
for some more related description.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61564] Illegal reflective access by org.apache.poi.util.DocumentHelper in Java 9

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61564

--- Comment #3 from Dominik Stadler <[hidden email]> ---
In trunk I tried to fix this by removing the reflection on com.sun.. packages
as we can now expect the attribute to be supported by the internal XML Parser
since we know that we use Java 8 there. See r1811145, not sure how a "fix" for
3.17/Java 6 would look like, we cannot remove the reflective access there as it
is required for an important security functionality that is not accessible
otherwise for some JDKs as far as I remember.

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]