Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8140561

JDBC driver class cast error

    XMLWordPrintable

    Details

      Description

      FULL PRODUCT VERSION :


      ADDITIONAL OS VERSION INFORMATION :
      win8.1

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      connect to SQL

      A DESCRIPTION OF THE PROBLEM :
      In method ResultSet.getObject() will be have ClassCastException if object is HashMap. regist in mysql, a blob column.
      Root cause is there have 0x1D misalignment bytes when we use getObject() method.
      I don't know the wrong was happened when save or load data, I cannot find detail bug cuz I just have that class and I cannot get source code, but I have been use align method to solve this problem my self.


      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Activity

            People

            Assignee:
            psonal Pallavi Sonal (Inactive)
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: