Skip to content

Empty method name output for anonymous inner class with non-nullary constructor #7

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Create file a.java with contents
class b  { 
    public b(int x) { }
}

public class a {

    public void m() {
        b ref = new b (42)  {
        };
    }
}
2. Run binary/javai-reim a.java

What is the expected output? What do you see instead?
In infer-output/pure-metods.csv contains:
a$1.(int)
a.m()
b.b(int)

The first line should not be output.

What version of the product are you using? On what operating system?
trunk from svn on Linux (Fedora 19) x64, OpenJDK 1.7.0_51

Please provide any additional information below.
<none>

Original issue reported on code.google.com by darioush...@gmail.com on 7 Mar 2014 at 7:03

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions