skip to main content
10.1145/2508075.2508093acmconferencesArticle/Chapter ViewAbstractPublication PagessplashConference Proceedingsconference-collections
poster

Migration from deprecated API in Java

Authors Info & Claims
Published:26 October 2013Publication History

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.

References

  1. JaSCUT. http://java.net/projects/jascutGoogle ScholarGoogle Scholar
  2. JaSCUT Config Generator. http://java.net/projects/jascutconfGoogle ScholarGoogle Scholar
  3. J. H. Perkins. Automatically generating refactorings to support API evolution, ACM SIGPLAN-SIGSOFT Workshop on Program Analysis for Software Tools and Engineering, pp. 111--114, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. J. Henkel and A. Diwan. CatchUp!: capturing and replaying refactorings to support API evolution, International Conference on Software Engineering, pp. 274--283, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Eclipse IDE. http://www.eclipse.orgGoogle ScholarGoogle Scholar
  6. R. Štrobl. Generator of a configuration file for JaSCUT: Master's thesis. Czech Technical University in Prague, Faculty of Information Technology, 2013.Google ScholarGoogle Scholar

Index Terms

  1. Migration from deprecated API in Java

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          SPLASH '13: Proceedings of the 2013 companion publication for conference on Systems, programming, & applications: software for humanity
          October 2013
          192 pages
          ISBN:9781450319959
          DOI:10.1145/2508075

          Copyright © 2013 Owner/Author

          Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 26 October 2013

          Check for updates

          Qualifiers

          • poster

          Upcoming Conference

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader