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

MessagePayloadTest.resetCqlQueryHandlerField fails on Java 7

    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

        1. 9072.txt
          1 kB
          Robert Stupp

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: