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

support Scala 2.12.16 (and 2.12.17 nightlies) #313

Merged
merged 1 commit into from
Jun 8, 2022

Conversation

SethTisue
Copy link
Member

No description provided.

public JournalPolicies$ () { throw new RuntimeException(); }
}
- public akka.persistence.testkit.ProcessingPolicy.DefaultPolicies<akka.persistence.testkit.JournalOperation>.PassAll$ DefaultPolicy () ;
+ public void akka$persistence$testkit$EventStorage$_setter_$DefaultPolicy_$eq (akka.persistence.testkit.ProcessingPolicy.DefaultPolicies<akka.persistence.testkit.JournalOperation>.PassAll x$1) ;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this have been marked ACC_SYNTHETIC? I guess not important for this PR but a potential upstream problem

* Static reference to the singleton instance of this Scala object.
*/
public static final JournalPolicies$ MODULE$ = null;
+ public akka.persistence.testkit.ProcessingPolicy.DefaultPolicies<akka.persistence.testkit.JournalOperation>.PassAll$ PassAll () { throw new RuntimeException(); }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method doesn't seem to show up in javap, so it looks like a bug in genjavadoc that this now shows up?

@raboof
Copy link
Contributor

raboof commented Jun 8, 2022

I guess we can merge this anyway, since we're not releasing for 2.12.17 yet.

@raboof raboof merged commit 382442b into lightbend:main Jun 8, 2022
@SethTisue
Copy link
Member Author

@raboof I'll investigate issues you raise (good eye!), but they aren't new in 2.12.16; I just copied the patch file from the 2.12.15 release. (I'll need to do some digging to figure out which 2.12.x version(s) were the actual starting point.)

given that, I suggest you go ahead and release anyway, and if my investigation determines that we need to make changes to genjavadoc, we'll do that later.

@SethTisue SethTisue deleted the scala-2.12.16 branch June 8, 2022 12:35
@SethTisue
Copy link
Member Author

oh, I see that you did publish 👍

okay, I'll get back to this

@raboof
Copy link
Contributor

raboof commented Jun 8, 2022

@raboof I'll investigate issues you raise (good eye!), but they aren't new in 2.12.16; I just copied the patch file from the 2.12.15 release. (I'll need to do some digging to figure out which 2.12.x version(s) were the actual starting point.)

aah didn't notice that - great if you can look into it!

given that, I suggest you go ahead and release anyway, and if my investigation determines that we need to make changes to genjavadoc, we'll do that later.

agreed, already done!

@SethTisue
Copy link
Member Author

so it turns out that the two questionable methods are there even in src/test/resources/patches/2.12.3.patch, so whatever the problem is, it's quite ancient

given that, I'm not motivated to investigate further. if it had been something that changed in Scala in the last 1–2 years, say, I might have been interested because I'd want to see if it was a Scala regression. but this looks more like a quality problem with genjavadoc. unless it's showing up in the Akka docs and confusing actual users, it doesn't seem worth digging into further

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.

2 participants