Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

same code compile twice, but get different lambda method name #144

Open
hedex opened this issue Aug 24, 2018 · 1 comment
Open

same code compile twice, but get different lambda method name #144

hedex opened this issue Aug 24, 2018 · 1 comment

Comments

@hedex
Copy link

hedex commented Aug 24, 2018

such as :
first compile Fragment.lambda$new$150(android.view.View)
second compile Fragment.lambda$new$126(android.view.View)

the lambda method name has changed

@luontola
Copy link
Owner

What is the bytecode produced by the Java compiler? Retrolambda numbers the lambda classes in the same order as they appear in the bytecode, but Java compilers are not deterministic and the order of methods in the bytecode may vary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants