Migration from deprecated API in Java

  • Authors:
  • Roman Štrobl;Zdeněk Troníček

  • Affiliations:
  • Faculty of Information Technology, Czech Technical University in Prague, Prague, Czech Rep;Faculty of Information Technology, Czech Technical University in Prague, Prague, Czech Rep

  • Venue:
  • Proceedings of the 2013 companion publication for conference on Systems, programming, & applications: software for humanity
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

When software components evolve, they change interfaces. Members that are obsolete are marked as deprecated and new members are added. We deal with the problem of migration from deprecated members to their replacement. We implemented two tools: Java Source Code Update Tool, which updates the source code based on a configuration file, and a generator, which heuristically figures out how to migrate from deprecated members and generates the configuration file. We evaluated these tools on five open source projects and the results are very encouraging.