Skip to content

Do not bind accessors for Java interface-based constant values#5732

Merged
headius merged 1 commit intojruby:masterfrom
headius:remove_constant_accessors
Mar 4, 2020
Merged

Do not bind accessors for Java interface-based constant values#5732
headius merged 1 commit intojruby:masterfrom
headius:remove_constant_accessors

Conversation

@headius
Copy link
Member

@headius headius commented May 15, 2019

This removes the unintended behavior that binds an accessor as well as a constant for constant (final) fields on interfaces. It was introduced a long time ago and only recently noticed since Java 9+ prevented the accessor from being created. We are deprecating this in JRuby 9.2.8.0 (#5731) for removal in 9.3.

See #5730.

@headius headius added this to the JRuby 9.3.0.0 milestone May 15, 2019
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

Successfully merging this pull request may close these issues.

1 participant