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

Positive infinity float decompiling into invalid bytecode #469

Closed
aoqia194 opened this issue Mar 8, 2025 · 2 comments
Closed

Positive infinity float decompiling into invalid bytecode #469

aoqia194 opened this issue Mar 8, 2025 · 2 comments

Comments

@aoqia194
Copy link

aoqia194 commented Mar 8, 2025

Vineflower version

1.11.1

Describe the bug

Class field decompiling to primitive type float with value InfinityF instead of type Float with value Float.POSITIVE_INFINITY

Additional information

Original bytecode: public final static F NULL_HUE = Infinity
Decompiled bytecode: public final static float NULL_HUE = InfinityF

Please let me know if additional context is needed, though it is an extremely simple case.

@zml2008
Copy link
Member

zml2008 commented Mar 8, 2025

Can you provide actual compiling code to demonstrate this?

@aoqia194
Copy link
Author

aoqia194 commented Mar 8, 2025

I can only replicate this issue in one specific environment with one specific version of Vineflower. Any other environment of using Vineflower and it will decompile correctly. Marking this as closed until further notice.

@aoqia194 aoqia194 closed this as completed Mar 8, 2025
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