Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1542

Java 11 warns of illegal reflective access

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0
    • Component/s: jclouds-core
    • Labels:
      None

      Description

      When using JClouds BlobStore for Google Cloud Storage with Java 11, some warning are displayed by the JVM about illegal reflective access:

       

      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.jclouds.reflect.Reflection2$1 (file:/.../jclouds-core.jar) to constructor java.lang.String(char[],int,int,java.lang.Void)
      WARNING: Please consider reporting this to the maintainers of org.jclouds.reflect.Reflection2$1
      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

       

      JClouds works but as stated, these illegal reflective accesses may be denied in upper Java versions.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ctranxuan ctranxuan

              Dates

              • Created:
                Updated:
                Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 2h 40m
              2h 40m

                Issue deployment