services: Deprecate V1alpha#11681
Conversation
|
The jobs are failing with warning, |
That's not why. Javac is failing:
No, because the test status is failing, and it isn't even flaky. (This would be true regardless of the error/warning.) |
|
To resolve this, can we use @SuppressWarnings("deprecation") wherever this v1alpha is getting used? |
|
You can, but you can't put |
| } | ||
| } | ||
|
|
||
| @SuppressWarnings("deprecation") |
There was a problem hiding this comment.
This suppressed deprecation for many things. We do want deprecation warnings. It is better to put the annotation on an assignment:
@SuppressWarnings("deprecation")
BindableService oldReflectionService = ProtoReflectionService.newInstance();Ditto for the other files.
| private MutableHandlerRegistry handlerRegistry = new MutableHandlerRegistry(); | ||
| private BindableService reflectionService; | ||
| @SuppressWarnings("deprecation") | ||
| BindableService reflectionService = ProtoReflectionService.newInstance(); |
No description provided.