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

Java 11 warns of illegal reflective access

    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
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              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