Retrofit2, maven project, Illegal reflective access warning

There was an issue filed about this, to which one of the Retrofit maintainers responded:

The reflection works around a bug in the JDK which was fixed in 14 but it’s only used for default methods. As it’s only a warning, it’s not preventing your call from working.

So your options are either to

  1. stick with Retrofit 2.8.x, and
    • ignore the warning, or
    • upgrade to Java 14
  2. downgrade to Retrofit 2.7.*

Leave a Comment

deneme bonusu veren sitelerbahis casinomakrobetceltabetpinbahispolobetpolobet girişpinbahis girişmakrobet girişpulibet girişmobilbahis girişkolaybet giriş