Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-9072

MessagePayloadTest.resetCqlQueryHandlerField fails on Java 7

Agile BoardAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.2.0 beta 1
    • None
    • None
    • Normal

    Description

      Fails for me on Linux and OS X

      java.lang.RuntimeException: java.lang.IllegalAccessException: Class org.apache.cassandra.transport.MessagePayloadTest can not access a member of class java.lang.reflect.Field with modifiers "private"                                                        
      at org.apache.cassandra.transport.MessagePayloadTest.resetCqlQueryHandlerField(MessagePayloadTest.java:91) 
      Caused by: java.lang.IllegalAccessException: Class org.apache.cassandra.transport.MessagePayloadTest can not access a member of class java.lang.reflect.Field with modifiers "private"                       
      at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:296)                  
      at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:288)                            
      at java.lang.reflect.Field.setInt(Field.java:946)                                                       
      at org.apache.cassandra.transport.MessagePayloadTest.resetCqlQueryHandlerField(MessagePayloadTest.java:86) 
      

      Attachments

        Issue Links

        Activity

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

          People

            snazy Robert Stupp Assign to me
            aweisberg Ariel Weisberg
            Robert Stupp
            Ariel Weisberg
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment