[jira] [Commented] (NUTCH-2633) Fix deprecation warnings when building Nutch master branch under JDK 10.0.2+13

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (NUTCH-2633) Fix deprecation warnings when building Nutch master branch under JDK 10.0.2+13

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/NUTCH-2633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16576994#comment-16576994 ]

Hudson commented on NUTCH-2633:
-------------------------------

SUCCESS: Integrated in Jenkins build Nutch-trunk #3550 (See [https://builds.apache.org/job/Nutch-trunk/3550/])
NUTCH-2633 Fix deprecation warnings when building Nutch master branch (github: [https://github.com/apache/nutch/commit/f02110f42c53e77450835776cf41f22c23f030ec])
* (edit) src/plugin/protocol-http/src/java/org/apache/nutch/protocol/http/Http.java
* (edit) src/plugin/parse-tika/src/java/org/apache/nutch/parse/tika/TikaParser.java
* (edit) src/plugin/parse-swf/src/java/org/apache/nutch/parse/swf/SWFParser.java
* (edit) src/plugin/parsefilter-regex/src/test/org/apache/nutch/parsefilter/regex/TestRegexParseFilter.java
* (edit) src/java/org/apache/nutch/protocol/Protocol.java
* (edit) src/java/org/apache/nutch/segment/SegmentReader.java
* (edit) src/plugin/mimetype-filter/src/test/org/apache/nutch/indexer/filter/MimeTypeIndexingFilterTest.java
* (edit) src/plugin/protocol-ftp/src/java/org/apache/nutch/protocol/ftp/FtpResponse.java
* (edit) src/plugin/protocol-httpclient/src/java/org/apache/nutch/protocol/httpclient/Http.java
* (edit) src/java/org/apache/nutch/service/model/response/FetchNodeDbInfo.java
* (edit) src/plugin/urlnormalizer-ajax/src/java/org/apache/nutch/net/urlnormalizer/ajax/AjaxURLNormalizer.java
* (edit) src/java/org/apache/nutch/protocol/ProtocolException.java
* (edit) src/test/org/apache/nutch/service/TestNutchServer.java
* (edit) src/plugin/parsefilter-regex/src/java/org/apache/nutch/parsefilter/regex/RegexParseFilter.java
* (edit) src/test/org/apache/nutch/util/WritableTestUtils.java
* (edit) src/java/org/apache/nutch/crawl/CrawlDbReader.java
* (edit) src/plugin/protocol-httpclient/src/java/org/apache/nutch/protocol/httpclient/HttpBasicAuthentication.java
* (edit) src/java/org/apache/nutch/crawl/CrawlDbMerger.java
* (edit) src/plugin/protocol-file/src/java/org/apache/nutch/protocol/file/FileResponse.java
* (edit) src/java/org/apache/nutch/tools/Benchmark.java
* (edit) src/plugin/indexer-rabbit/src/java/org/apache/nutch/indexwriter/rabbit/RabbitDocument.java
* (edit) src/plugin/protocol-htmlunit/src/java/org/apache/nutch/protocol/htmlunit/HttpResponse.java
* (edit) src/java/org/apache/nutch/crawl/FetchScheduleFactory.java
* (edit) src/plugin/protocol-interactiveselenium/src/java/org/apache/nutch/protocol/interactiveselenium/HttpResponse.java
* (edit) src/java/org/apache/nutch/tools/DmozParser.java
* (edit) src/plugin/mimetype-filter/src/java/org/apache/nutch/indexer/filter/MimeTypeIndexingFilter.java
* (edit) src/java/org/apache/nutch/hostdb/ResolverThread.java
* (edit) src/java/org/apache/nutch/service/resources/DbResource.java
* (edit) src/java/org/apache/nutch/util/domain/DomainStatistics.java
* (edit) src/plugin/urlnormalizer-querystring/src/test/org/apache/nutch/net/urlnormalizer/querystring/TestQuerystringURLNormalizer.java
* (edit) src/plugin/urlmeta/src/java/org/apache/nutch/indexer/urlmeta/URLMetaIndexingFilter.java
* (edit) src/java/org/apache/nutch/util/GenericWritableConfigurable.java
* (edit) src/test/org/apache/nutch/segment/TestSegmentMergerCrawlDatums.java
* (edit) src/java/org/apache/nutch/tools/CommonCrawlDataDumper.java
* (edit) src/java/org/apache/nutch/crawl/FetchSchedule.java
* (edit) src/java/org/apache/nutch/indexer/IndexWriter.java
* (edit) src/plugin/index-jexl-filter/src/java/org/apache/nutch/indexer/jexl/JexlIndexingFilter.java
* (edit) src/plugin/indexer-elastic-rest/src/java/org/apache/nutch/indexwriter/elasticrest/ElasticRestIndexWriter.java
* (edit) src/test/org/apache/nutch/crawl/CrawlDbUpdateUtil.java
* (edit) src/java/org/apache/nutch/crawl/DefaultFetchSchedule.java
* (edit) src/plugin/subcollection/src/java/org/apache/nutch/indexer/subcollection/SubcollectionIndexingFilter.java
* (edit) src/test/org/apache/nutch/crawl/CrawlDbUpdateTestDriver.java
* (edit) src/java/org/apache/nutch/tools/CommonCrawlFormatWARC.java
* (edit) src/java/org/apache/nutch/crawl/AbstractFetchSchedule.java
* (edit) src/plugin/creativecommons/src/test/org/creativecommons/nutch/TestCCParseFilter.java
* (edit) src/java/org/apache/nutch/plugin/Plugin.java
* (edit) src/plugin/indexer-dummy/src/java/org/apache/nutch/indexwriter/dummy/DummyIndexWriter.java
* (edit) src/java/org/apache/nutch/service/impl/LinkReader.java
* (edit) src/java/org/apache/nutch/crawl/MimeAdaptiveFetchSchedule.java
* (edit) src/java/org/apache/nutch/tools/FileDumper.java
* (edit) src/test/org/apache/nutch/crawl/TestCrawlDbMerger.java
* (edit) src/plugin/parse-tika/src/test/org/apache/nutch/parse/tika/TestFeedParser.java
* (edit) src/java/org/apache/nutch/crawl/SignatureFactory.java
* (edit) src/plugin/urlnormalizer-slash/src/test/org/apache/nutch/net/urlnormalizer/slash/TestSlashURLNormalizer.java
* (edit) src/plugin/urlnormalizer-basic/src/java/org/apache/nutch/net/urlnormalizer/basic/BasicURLNormalizer.java
* (edit) src/java/org/apache/nutch/protocol/ProtocolStatus.java
* (edit) src/plugin/index-geoip/src/java/org/apache/nutch/indexer/geoip/GeoIPDocumentCreator.java
* (edit) src/java/org/apache/nutch/util/AbstractChecker.java
* (edit) src/plugin/indexer-cloudsearch/src/java/org/apache/nutch/indexwriter/cloudsearch/CloudSearchIndexWriter.java
* (edit) src/plugin/index-basic/src/java/org/apache/nutch/indexer/basic/BasicIndexingFilter.java
* (edit) src/plugin/protocol-okhttp/src/java/org/apache/nutch/protocol/okhttp/OkHttp.java
* (edit) src/plugin/urlmeta/src/java/org/apache/nutch/scoring/urlmeta/URLMetaScoringFilter.java
* (edit) src/java/org/apache/nutch/util/EncodingDetector.java
* (edit) src/plugin/protocol-file/src/java/org/apache/nutch/protocol/file/FileError.java
* (edit) src/plugin/urlnormalizer-protocol/src/test/org/apache/nutch/net/urlnormalizer/protocol/TestProtocolURLNormalizer.java
* (edit) src/java/org/apache/nutch/indexer/CleaningJob.java
* (edit) src/java/org/apache/nutch/crawl/AdaptiveFetchSchedule.java
* (edit) src/plugin/parse-tika/src/java/org/apache/nutch/parse/tika/BoilerpipeExtractorRepository.java
* (edit) src/plugin/feed/src/test/org/apache/nutch/parse/feed/TestFeedParser.java
* (edit) src/java/org/apache/nutch/plugin/Extension.java
* (edit) src/plugin/urlnormalizer-querystring/src/java/org/apache/nutch/net/urlnormalizer/querystring/QuerystringURLNormalizer.java
* (edit) src/java/org/apache/nutch/segment/ContentAsTextInputFormat.java
* (edit) src/java/org/apache/nutch/tools/warc/WARCExporter.java
* (edit) src/java/org/apache/nutch/indexer/IndexingFilters.java
* (edit) src/java/org/apache/nutch/tools/arc/ArcSegmentCreator.java
* (edit) src/java/org/apache/nutch/crawl/CrawlDatum.java
* (edit) src/plugin/index-replace/src/java/org/apache/nutch/indexer/replace/ReplaceIndexer.java
* (edit) src/java/org/apache/nutch/protocol/Content.java
* (edit) src/plugin/protocol-httpclient/src/java/org/apache/nutch/protocol/httpclient/DummyX509TrustManager.java
* (edit) src/java/org/apache/nutch/service/impl/NodeReader.java
* (edit) src/plugin/protocol-ftp/src/java/org/apache/nutch/protocol/ftp/FtpError.java
* (edit) src/java/org/apache/nutch/hostdb/ReadHostDb.java
* (edit) src/plugin/any23/src/test/org/apache/nutch/any23/TestAny23ParseFilter.java
* (edit) src/java/org/apache/nutch/service/impl/NutchServerPoolExecutor.java
* (edit) src/plugin/indexer-elastic/src/java/org/apache/nutch/indexwriter/elastic/ElasticIndexWriter.java
* (edit) src/plugin/indexer-elastic/src/test/org/apache/nutch/indexwriter/elastic/TestElasticIndexWriter.java
* (edit) src/plugin/urlfilter-ignoreexempt/src/java/org/apache/nutch/urlfilter/ignoreexempt/ExemptionUrlFilter.java
* (edit) src/plugin/protocol-ftp/src/java/org/apache/nutch/protocol/ftp/Ftp.java
* (edit) src/java/org/apache/nutch/fetcher/Fetcher.java
* (edit) src/plugin/parse-html/src/java/org/apache/nutch/parse/html/HtmlParser.java
* (edit) src/plugin/scoring-similarity/src/java/org/apache/nutch/scoring/similarity/cosine/Model.java
* (edit) src/java/org/apache/nutch/protocol/ProtocolFactory.java
* (edit) src/plugin/scoring-orphan/src/java/org/apache/nutch/scoring/orphan/OrphanScoringFilter.java
* (edit) src/java/org/apache/nutch/util/CrawlCompletionStats.java
* (edit) src/plugin/index-links/src/test/org/apache/nutch/indexer/links/TestLinksIndexingFilter.java


> Fix deprecation warnings when building Nutch master branch under JDK 10.0.2+13
> ------------------------------------------------------------------------------
>
>                 Key: NUTCH-2633
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2633
>             Project: Nutch
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 1.16
>         Environment: java version "10.0.2" 2018-07-17
> Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
> Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)
> Nutch master 01c5d6ea17d7b60d25d4e65462b2a654f10680c3 (Thu Jul 26 14:55:38 2018 +0200)
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>            Priority: Major
>             Fix For: 1.16
>
>
> I just got around to making a dev upgrade to >= JDK 10.
> When building master using environment JDK
> I get several compile time deprecations which are reflected in the attached build log.
> Additionally, I get some issues with Ivy... see below
> {code}
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by org.apache.ivy.util.url.IvyAuthenticator (file:/Users/lmcgibbn/.ant/lib/ivy-2.3.0.jar) to field java.net.Authenticator.theAuthenticator
> WARNING: Please consider reporting this to the maintainers of org.apache.ivy.util.url.IvyAuthenticator
> 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
> [ivy:resolve] :: problems summary ::
> [ivy:resolve] :::: ERRORS
> [ivy:resolve] unknown resolver null
> [ivy:resolve] unknown resolver null
> [ivy:resolve] unknown resolver null
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)