[REQ] Java Jersey glassfish fix renewing OAuth-Accesstoken
Created by: sbilz
Is your feature request related to a problem? Please describe.
Renewing the OAuth-Accesstoken does not work because jersey ApiClient.java uses Objectreference comparison for the statusInfo check and the used implementation from glassfish is not compatible.
Describe the solution you'd like
Because Objectreference comparison is not really necessary, we suggest to only check against the statusCode. compare: https://github.com/OpenAPITools/openapi-generator/pull/14735
Describe alternatives you've considered
Temporarily we are using mustache-templates as described above.