Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Regression in ClientHttpRequestFactoryHints #1370

Closed
goafabric opened this issue Dec 12, 2021 · 1 comment
Closed

Regression in ClientHttpRequestFactoryHints #1370

goafabric opened this issue Dec 12, 2021 · 1 comment
Assignees
Labels
type: regression A bug that is also a regression
Milestone

Comments

@goafabric
Copy link

goafabric commented Dec 12, 2021

Intro
Two Nativehints that where fixed in previous Versions of Spring native,
are broken again in native11.
I was able to get everything working by readding the Typehints again, with the now changed "TypeAccess"
My proposal might by a bit verbose, but the DEFAULT does not work
Would be nice if these are fixed in 11 again

setConnectionTimeout
#954
=>
@typehint(types = org.springframework.http.client.SimpleClientHttpRequestFactory.class, access = {TypeAccess.DECLARED_CLASSES, TypeAccess.DECLARED_CONSTRUCTORS, TypeAccess.DECLARED_METHODS})

Support for EntityListeners
#869
=>
@typehint(types = AuditJpaListener.class, access = {TypeAccess.DECLARED_CLASSES, TypeAccess.DECLARED_CONSTRUCTORS, TypeAccess.DECLARED_METHODS})
=> This is of course specific to my Class, don't know how the generic fix would like

Demo Branch
https://github.com/goafabric/person-service/tree/native-11-github

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Dec 12, 2021
@sdeleuze sdeleuze self-assigned this Jan 3, 2022
@sdeleuze sdeleuze added type: regression A bug that is also a regression and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jan 3, 2022
@sdeleuze sdeleuze added this to the 0.11.2 milestone Jan 3, 2022
@christophstrobl christophstrobl self-assigned this Jan 11, 2022
@sdeleuze sdeleuze removed their assignment Jan 11, 2022
@sdeleuze sdeleuze removed this from the 0.11.2 milestone Jan 21, 2022
@sdeleuze sdeleuze assigned sdeleuze and unassigned christophstrobl Jan 21, 2022
@sdeleuze sdeleuze added this to the 0.11.2 milestone Jan 21, 2022
@sdeleuze sdeleuze changed the title Nativehints for connectionTimeout and JPAListeners that where prev. fixed, are again broken in native 11 Regression in ClientHttpRequestFactoryHints Jan 21, 2022
@sdeleuze
Copy link
Contributor

I focus this issue on fixing the regression in ClientHttpRequestFactoryHints, I think the other issue may be covered by #1371.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: regression A bug that is also a regression
Development

No branches or pull requests

4 participants