orc icon indicating copy to clipboard operation
orc copied to clipboard

Remove all uses of deprecated site APIs

Open arthurp opened this issue 8 years ago • 2 comments

Orc has collected a number of external site APIs. We should clean that up. The APIs are currently marked as @depricated so it should be easy to find their uses. This issue tracks the clean up for the extremely old Java API.

The APIs are:

  • [ ] orc.values.sites.compatibility.Args
  • [ ] orc.values.sites.compatibility.DotSite
  • [ ] orc.values.sites.compatibility.PartialSite
  • [ ] orc.values.sites.compatibility.SiteAdapter
  • [ ] orc.values.sites.compatibility.Types

To remove all uses of these we will likely have to remove all the legacy Java sites. This would be a good time to rewrite them using the invoker API.

arthurp avatar Aug 06 '17 04:08 arthurp

Note: The new Invoker and Accessor APIs should actually be easier to use from Java than the Site API, since all the uses of Scala collections and specialized types have been removed. The only types in the API are AnyRef and Array[AnyRef]. Which are also easy to write in Java as Object and Object[].

arthurp avatar Aug 06 '17 04:08 arthurp

This now includes the Scala compatibility APIs in orc.values.sites.compatibility.

arthurp avatar Sep 19 '18 23:09 arthurp