What happened?
ProtoByteBuddyUtils uses ClassLoadingStrategy.Default.INJECTION. See #25578, which previously migrated some uses of that strategy.
ClassLoadingStrategy.Default.INJECTION uses sun.misc.Unsafe internally, which is deprecated (https://openjdk.org/jeps/471) and the latest versions of bytebuddy warn on using that strategy on newer JDK versions (https://github.com/raphw/byte-buddy/releases/tag/byte-buddy-1.18.9)
ProtoByteBuddyUtils should be updated to use ByteBuddyUtils.getClassLoadingStrategy, or equivalent logic if it can't depend directly on ByteBuddyUtils.getClassLoadingStrategy, instead of ClassLoadingStrategy.Default.INJECTION.
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components
What happened?
ProtoByteBuddyUtilsusesClassLoadingStrategy.Default.INJECTION. See #25578, which previously migrated some uses of that strategy.ClassLoadingStrategy.Default.INJECTIONusessun.misc.Unsafeinternally, which is deprecated (https://openjdk.org/jeps/471) and the latest versions of bytebuddy warn on using that strategy on newer JDK versions (https://github.com/raphw/byte-buddy/releases/tag/byte-buddy-1.18.9)ProtoByteBuddyUtilsshould be updated to useByteBuddyUtils.getClassLoadingStrategy, or equivalent logic if it can't depend directly onByteBuddyUtils.getClassLoadingStrategy, instead ofClassLoadingStrategy.Default.INJECTION.Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components