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

Derby does not resolve functions bound to methods with varargs.


    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s:,,,,,,,
    • Fix Version/s:
    • Component/s: SQL
    • Urgency:
    • Issue & fix info:
      Patch Available


      Varargs were added in Java 5. It would be nice if Derby let you invoke a function bound to a method with a variable length argument list. The Reference Guide states a small number of restrictions for methods which can be invoked as Derby functions: They must be public, static, and not have arguments which are long datatypes. I see no reason that Derby shouldn't be able to resolve and invoke functions which are bound to methods which don't suffer these limitations but which have variable argument lists.


        1. z.sql
          0.6 kB
          Rick Hillegas
        2. z.java
          0.8 kB
          Rick Hillegas
        3. Varargs.html
          10 kB
          Rick Hillegas
        4. Varargs.html
          10 kB
          Rick Hillegas
        5. derby-3069-09-aa-docNotSupportedOnJSR169.diff
          0.4 kB
          Rick Hillegas
        6. derby-3069-08-aa-stringArrayTable.diff
          3 kB
          Rick Hillegas
        7. derby-3069-07-ab-datatypeTests.diff
          35 kB
          Rick Hillegas
        8. derby-3069-07-aa-datatypeTests.diff
          35 kB
          Rick Hillegas
        9. derby-3069-06-ab-fixBugs.diff
          27 kB
          Rick Hillegas
        10. derby-3069-05-aa-executeVarargs.diff
          44 kB
          Rick Hillegas
        11. derby-3069-04-aa-shortenRoutineNamesInUpgradeTest.diff
          2 kB
          Rick Hillegas
        12. derby-3069-03-ab-varargsSyntax.diff
          57 kB
          Rick Hillegas
        13. derby-3069-03-aa-varargsSyntax.diff
          53 kB
          Rick Hillegas
        14. derby-3069-02-backout.diff
          12 kB
          Rick Hillegas
        15. derby-3069-01-varargs-ab.diff
          12 kB
          Rick Hillegas
        16. derby-3069-01-varargs-aa.diff
          11 kB
          Rick Hillegas

          Issue Links



              • Assignee:
                rhillegas Rick Hillegas
                rhillegas Rick Hillegas
              • Votes:
                0 Vote for this issue
                2 Start watching this issue


                • Created: