Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5032

[patch] derived InternalXact attempts (and fails) to override a method from base

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 10.7.1.1
    • 10.8.1.2
    • Network Server
    • None
    • Normal
    • Regression

    Description

      RawTransaction implements

      public void checkLogicalOperationOk() throws StandardException {
      }

      which is attempted to be overridden in derived class InternalXact, but is not done so because of a case problem in InternalXact
      public void checkLogicalOperationOK()
      throws StandardException
      {
      throw StandardException.newException(
      SQLState.XACT_NOT_SUPPORTED_IN_INTERNAL_XACT);
      }

      Code that calls this method thru the parent will not get the overridden method called.

      Attachments

        1. bad_override_attempt.diff
          0.6 kB
          Dave Brosius

        Activity

          People

            dbrosius@apache.org Dave Brosius
            dbrosius@apache.org Dave Brosius
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified