Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-5472

Karaf RmiRegistryFactory throws a warning with Java 9

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 4.2.0.M1
    • None
    • karaf
    • None

    Description

      At startup, the RmiRegistryFactory creates a WARNING with Java9:

      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.apache.karaf.management.RmiRegistryFactory (jar:bundle://28.0:0/!/) to field sun.rmi.transport.tcp.TCPEndpoint.localEndpoints
      WARNING: Please consider reporting this to the maintainers of org.apache.karaf.management.RmiRegistryFactory
      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
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            gnodet Guillaume Nodet
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment