Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-2167

Upgrade camel-scala to scala 2.8.0.RC6

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.4.0
    • camel-scala
    • None
    • Patch Available

    Description

      The attached patch upgrades to 2.8.0-SNAPSHOT (actually a specific version, but pretty close to today).

      Only a few changes were required:

      • Change package declarations to new 2.8 style that allows relative imports
      • Change org.apache.camel.scala.conveters.ScalaTypeConverter from a singleton object to a class. Otherwise ObjectHelper failed to instantiate the converter due to private access. (This could be 2.8 bug. I will need to raise an issue.)
      • Removed generic parameters on references to java classes that were not generic. Don't know why this compiled with scala 2.7.

      Attachments

        1. Upgrade_to_scala_2_8.patch
          50 kB
          Barry Kaplan

        Activity

          People

            hadrian Hadrian Zbarcea
            memelet Barry Kaplan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: