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

Polish code in preparation for a Groovy upgrade #9627

Merged
merged 10 commits into from
Jul 25, 2019

Conversation

l0rinc
Copy link
Contributor

@l0rinc l0rinc commented Jun 5, 2019

@l0rinc l0rinc self-assigned this Jun 5, 2019
@l0rinc l0rinc force-pushed the lorinc/groovy-upgrade-257 branch 2 times, most recently from e396c06 to 83d9dcf Compare June 7, 2019 09:20

final inputFingerprinter = new AbsolutePathFileCollectionFingerprinter(
new DefaultFileSystemSnapshotter(
fileHasher,
Copy link
Contributor Author

@l0rinc l0rinc Jun 8, 2019

Choose a reason for hiding this comment

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

Trait references to other fields aren't atomic and see their values as null
May be a bug, opened: https://issues.apache.org/jira/browse/GROOVY-9167

@l0rinc l0rinc force-pushed the lorinc/groovy-upgrade-257 branch from 83d9dcf to 7f23609 Compare June 8, 2019 13:04
@l0rinc l0rinc changed the title WIP Upgrade Groovy 2.5.4 to 2.5.7 Upgrade Groovy 2.5.4 to 2.5.7 Jun 8, 2019
@l0rinc l0rinc force-pushed the lorinc/groovy-upgrade-257 branch from 858a231 to 1805e0d Compare June 9, 2019 07:47
@l0rinc l0rinc force-pushed the lorinc/groovy-upgrade-257 branch from 1805e0d to b37b04e Compare June 9, 2019 10:42
@l0rinc l0rinc marked this pull request as ready for review June 9, 2019 12:27
@l0rinc l0rinc force-pushed the lorinc/groovy-upgrade-257 branch 3 times, most recently from 3661059 to 280f97e Compare June 11, 2019 09:59
@@ -30,8 +30,8 @@ class RebaselinePerformanceTests extends SourceTask {

@TaskAction
void rebaseline() {
getSource().each { file ->
file.text = rebaseline(file.text, baseline)
for (file in getSource()) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@l0rinc l0rinc changed the title Upgrade Groovy 2.5.4 to 2.5.7 WIP Upgrade Groovy 2.5.4 to 2.5.7 Jun 12, 2019
@l0rinc l0rinc assigned big-guy and unassigned l0rinc Jun 20, 2019
@big-guy big-guy added this to the 6.0 RC1 milestone Jul 12, 2019
@l0rinc l0rinc force-pushed the lorinc/groovy-upgrade-257 branch from 280f97e to f75fd41 Compare July 24, 2019 09:57
@l0rinc l0rinc changed the title WIP Upgrade Groovy 2.5.4 to 2.5.7 Polish code in preparation for a Groovy upgrade Jul 24, 2019
Pap Lőrinc and others added 6 commits July 25, 2019 08:17
For some reason Groovy 2.5.7 is stricter WRT the order of declared
mock expectations for this particular test. Changing the order to
accurately reflect the true invocation order allows this test to pass
with Groovy 2.5.4 and 2.5.7
@l0rinc l0rinc force-pushed the lorinc/groovy-upgrade-257 branch from f75fd41 to f7cef6b Compare July 25, 2019 06:36
@l0rinc
Copy link
Contributor Author

l0rinc commented Jul 25, 2019

Force pushed to remove invalid commits

@wolfs wolfs assigned l0rinc and unassigned big-guy Jul 25, 2019
@l0rinc l0rinc requested a review from wolfs July 25, 2019 09:07
Copy link
Member

@wolfs wolfs left a comment

Choose a reason for hiding this comment

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

Looks good, the indentation is not consistent, yet.

@l0rinc l0rinc requested a review from wolfs July 25, 2019 10:25
l0rinc and others added 2 commits July 25, 2019 13:43
…le/AbstractJavaGroovyCompileAvoidanceIntegrationSpec.groovy

Co-Authored-By: Stefan Wolf <wolf@gradle.com>
@l0rinc l0rinc merged commit 15eb8bb into master Jul 25, 2019
@l0rinc l0rinc deleted the lorinc/groovy-upgrade-257 branch July 25, 2019 21:40
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.

5 participants