diff options
| author | luccioman <luccioman@users.noreply.github.com> | 2018-08-16 18:23:42 +0200 |
|---|---|---|
| committer | luccioman <luccioman@users.noreply.github.com> | 2018-08-16 18:23:42 +0200 |
| commit | 54fbe166ba41dac90f571e4072ee227d1ef23973 (patch) | |
| tree | a6a3492c98884a1ffc7cf2f8a1aabc15b6a954d0 /lib | |
| parent | 685122363dc34a748834eaf567b5e7cb81f01634 (diff) | |
Updated pdf cache clear steps consistently with current pdfbox version
- Removed calls to no more existing clearResources functions (on PDFont
class and its children) since upgrade to pdfbox 2.n.n
- Removed hacky usage of protected internal ClassLoader function. This
removes the warnings displayed when running with JDK9 or JDK10 :
[java] WARNING: Illegal reflective access by
net.yacy.document.parser.pdfParser$ResourceCleaner (file:<path>) to
method java.lang.ClassLoader.findLoadedClass(java.lang.String)
[java] WARNING: Please consider reporting this to the maintainers
of net.yacy.document.parser.pdfParser$ResourceCleaner
[java] WARNING: Use --illegal-access=warn to enable warnings of
further illegal reflective access operations
[java] WARNING: All illegal access operations will be denied in a
future release
Crawling thousands of pdf documents from various sources after
modifications applied, revealed no new memory leak related to pdfbox
(measurements done with JVisualVM).
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
