Skip to content

Callbacks to Inner-classes are skipped in the generated averroes-lib-class.jar #21

@akshayutture

Description

@akshayutture

Consider the following example

import java.util.*;

public class C{
        public static class B implements Comparable<B>{
                @Override
                public int compareTo(B st){
                        return 0;
                }
        }

        public static void main(String[] args){
                ArrayList<B> arr = new ArrayList<B>();
                arr.add(new B());
                arr.add(new B());
                Collections.sort(arr);
        }
}

When I run Averroes, the call to "compareTo" is missing in the generated averroes-lib-class.jar
I think it is an issue with inner classes because the call to "compareTo" is present when I run a similar example without inner classes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions