Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-2633

Fix deprecation warnings when building Nutch master branch under JDK 10.0.2+13

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.16
    • 1.16
    • build
    • None

    Description

      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

      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
      

      Attachments

        Issue Links

          Activity

            People

              lewismc Lewis John McGibbney
              lewismc Lewis John McGibbney
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: