Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-8033 JDK 9 support
  3. FLINK-12316

JDBCFullTest fails on Java 9

    XMLWordPrintableJSON

Details

    Description

      The test is checking for an exception message which contains the class names of Strings and such, which vary between java versions.

      13:44:31.313 [ERROR]   JDBCFullTest.testEnrichedClassCastException 
      Expected: (an instance of java.lang.ClassCastException and exception with message a string containing "java.lang.String cannot be cast to java.lang.Double, field index: 3, field value: 11.11.")
           but: exception with message a string containing "java.lang.String cannot be cast to java.lang.Double, field index: 3, field value: 11.11." message was "java.base/java.lang.String cannot be cast to java.base/java.lang.Double, field index: 3, field value: 11.11."
      Stacktrace was: java.lang.ClassCastException: java.base/java.lang.String cannot be cast to java.base/java.lang.Double, field index: 3, field value: 11.11.
      

      Attachments

        Issue Links

          Activity

            People

              chesnay Chesnay Schepler
              chesnay Chesnay Schepler
              Votes:
              0 Vote for this issue
              Watchers:
              0 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 - 20m
                  20m