-
Notifications
You must be signed in to change notification settings - Fork 197
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
javax to jakarta, groovy 4, spring framework 6 and spring boot 3 migrations #1810
javax to jakarta, groovy 4, spring framework 6 and spring boot 3 migrations #1810
Conversation
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…12.1 (grails#1771) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ls#1772) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* docs: Update readme - change to https links - make links inline - update md syntax - add maven central badge - add event filter (push) to CI badge - remove release workflow badge - improve text * docs: fix maven central badge url
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Add groovy-joint-workflow * Update groovy-joint-workflow.yml
* Update build.gradle Override project groovyVersion from env CI_GROOVY_VERSION * Force groovy version from the env CI_GROOVY_VERSION
* Fix trait `ValidatedService` (broken `validatorFactory` initialization) * Annotate instance field initialization with `@CompileDynamic` * Drop `@CompileDynamic`; rename instance field to avoid name collision
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…12.2 (grails#1787) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…: class file for javax.annotation.meta.When not found
...c/main/groovy/org/grails/datastore/gorm/validation/registry/support/ValidatorRegistries.java
Outdated
Show resolved
Hide resolved
...c/test/groovy/grails/gorm/services/multitenancy/partitioned/PartitionMultiTenancySpec.groovy
Outdated
Show resolved
Hide resolved
...orm-test/src/test/groovy/grails/gorm/services/multitenancy/schema/SchemaPerTenantSpec.groovy
Outdated
Show resolved
Hide resolved
grails-datastore-gorm-test/src/test/groovy/grails/gorm/services/RxServiceImplSpec.groovy
Outdated
Show resolved
Hide resolved
Nice work 👍 |
@jamesfredley Do you wanna merge this bad boy? Or is @codeconsole or @jdaugherty in the process of reviewing? |
I'm actually in the process of reviewing. I have been talking about some solutions to the multiple inheritance problem. Can this wait until Thursday's meeting? |
@jdaugherty Excellent, no problem 👍 |
Spoke to @jamesfredley and we want to go ahead and merge. My comments can be addressed separately. |
PR so that a 9.0.0-SNAPSHOT can be published and we can continue working on other grails dependencies while we work on the failing tests ignored on this PR. #1811
Key Changes and issues:
Groovy-5106 issues:
The interface GormEntity cannot be implemented more than once with different arguments: org.grails.datastore.gorm.GormEntity<grails.gorm.tests.XXX> and org.grails.datastore.gorm.GormEntity<grails.gorm.tests.XXX>
Tenants changes -
Annotation Metadata Reader
javax in Grails Package hierarchy and class name
CastExpression.asExpression(newReturnType, returnExpr)
The interface XXX cannot be implemented more than once with different arguments: java.util.Example<java.lang.Object> and java.util.Example<E>
org.codehaus.groovy.syntax.RuntimeParserException: The interface Set cannot be implemented more than once with different arguments: java.util.Set<java.lang.Object> and java.util.Set<E>
More test failures:
Cannot implement method for argument [title], No implementations possible for method 'rx.Observable updateBook(java.lang.String, java.lang.String)
java.lang.IllegalStateException: Either class [grails.gorm.services.multitenancy.partitioned.Book] is not a domain class or GORM has not been initialized correctly or has already been shutdown. Ensure GORM is loaded and configured correctly before calling any methods on a GORM entity.
java.lang.IllegalStateException: Either class [grails.gorm.services.multitenancy.schema.Book] is not a domain class or GORM has not been initialized correctly or has already been shutdown. Ensure GORM is loaded and configured correctly before calling any methods on a GORM entity.
-https://github.com/grails/grails-data-mapping/pull/1810/files#diff-db6628bfbaa9316ae15a143760a4e8f08ab13d7b3b9768f1889f87c4c2303d18
java.lang.StackOverflowError