You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Zezeng Wang (Jira)" <ji...@apache.org> on 2019/09/25 07:03:00 UTC
[jira] [Created] (AVRO-2569) Deprecated use does not conform to the
Java specification
Zezeng Wang created AVRO-2569:
---------------------------------
Summary: Deprecated use does not conform to the Java specification
Key: AVRO-2569
URL: https://issues.apache.org/jira/browse/AVRO-2569
Project: Apache Avro
Issue Type: Bug
Components: java
Reporter: Zezeng Wang
In lang/java/compiler/../SpecificCompiler#javaUnbox(Schema, boolean),
Utility for template use. Returns the unboxed java type for a Schema including the void type
Used for preventing unnecessary returns for RPC methods without response but with error(s).
This is great.
But in the javaUnbox (Schema) comment added @deprecated, but did not add @Deprecated on the method definition, JDK does not want this, they should exist at the same time, otherwise the compiler will have a warning
--
This message was sent by Atlassian Jira
(v8.3.4#803005)