Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #37353

Re: track usage of deprecated classes in our library

Path csiph.com!aioe.org!.POSTED!not-for-mail
From Arne Vajhøj <arne@vajhoej.dk>
Newsgroups comp.lang.java.programmer
Subject Re: track usage of deprecated classes in our library
Date Tue, 29 Aug 2017 20:41:10 -0400
Organization Aioe.org NNTP Server
Lines 28
Message-ID <oo51j3$1q63$1@gioia.aioe.org> (permalink)
References <361824ce-5337-44a8-93a3-05b92139cb30@googlegroups.com>
NNTP-Posting-Host PBuS014lhzVyHjLbXmo/ZQ.user.gioia.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Complaints-To abuse@aioe.org
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
X-Notice Filtered by postfilter v. 0.8.2
Content-Language en-US
Xref csiph.com comp.lang.java.programmer:37353

Show key headers only | View raw


On 8/29/2017 7:36 AM, mike wrote:
> We have quite a number of users of our public API. We have deprecated
> a great number of our methods since they are inefficient and error
> prone. New ones are already in place. But as you all know we cannot
> just remove the old since we do not know if they are used.
> 
> So we need to know which deprecated methods that are still called and
> hopefully provide ip and username so we can contact them to assist in
> replacing to new method.
> 
> Is there a mechanism in java which can accomplish this? Anyone with
> the experience of this? All input is greatly appreciated.
I don't think you can do anything.

I assume that the current binaries does not come with
"call home" functionality.

So you will need to release a new version to get
that functionality in.

And in that case the users need to see your download
page (that obviously informs about this) and then
the functionality is no longer needed.

Use @Deprecated and put a highly visible note on
download page - I think that is what you can do.

Arne

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

track usage of deprecated classes in our library mike <mikaelpetterson@hotmail.com> - 2017-08-29 04:36 -0700
  Re: track usage of deprecated classes in our library Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-08-29 08:09 -0400
  Re: track usage of deprecated classes in our library Eric Douglas <e.d.programmer@gmail.com> - 2017-08-29 05:19 -0700
  Re: track usage of deprecated classes in our library Arne Vajhøj <arne@vajhoej.dk> - 2017-08-29 20:41 -0400
  Re: track usage of deprecated classes in our library lewbloch@gmail.com - 2017-08-30 14:17 -0700

csiph-web