Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Deprecated classes & methods #1676

Closed
gregw opened this issue Jul 18, 2017 · 12 comments
Closed

Remove Deprecated classes & methods #1676

gregw opened this issue Jul 18, 2017 · 12 comments
Milestone

Comments

@gregw
Copy link
Contributor

gregw commented Jul 18, 2017

There are several classes and many methods deprecated in jetty-9.4.x. Should these be remove in Jetty-10.x?

  • IPAddressMap
  • PathMap
  • FileResource
  • ...
@gregw gregw added this to the 10.0.x milestone Jul 18, 2017
@gregw
Copy link
Contributor Author

gregw commented Jul 18, 2017

Any reason why not? @sbordet @janbartel @joakime @jmcc0nn3ll @WalkerWatch @olamy ?

@jmcc0nn3ll
Copy link
Contributor

Jetty 10 would be the proper time and place, yes.

@olamy
Copy link
Member

olamy commented Jul 18, 2017 via email

@WalkerWatch
Copy link
Contributor

+1 for removal in 10.x - would like a full list once we do this so we can include in migration guide(s).

@joakime
Copy link
Contributor

joakime commented Jul 18, 2017

Would also encourage use of the new @deprecated annotation in Java 9 for those methods that cannot be removed (yet).

There will also be some existing @deprecated methods that cannot be removed (such as the Request.getRealPath(String))

@gregw
Copy link
Contributor Author

gregw commented Jul 18, 2017

@WalkerWatch I'll do the removal commit by commit, so git will tell us the complete list.
I just removed jetty-continuations.... what a historic step!

@joakime
Copy link
Contributor

joakime commented Jul 18, 2017

@gregw btw, this is a duplicate of Issue #616

@joakime
Copy link
Contributor

joakime commented Jul 19, 2017

Should we remove the deprecated="<property>" attributes from the xml files too?

eg:

<Set name="host"><Property name="jetty.ssl.host" deprecated="jetty.host" /></Set>

https://github.com/eclipse/jetty.project/blob/jetty-9.4.6.v20170531/jetty-server/src/main/config/etc/jetty-ssl.xml#L29

@jmcc0nn3ll
Copy link
Contributor

+1

@gregw
Copy link
Contributor Author

gregw commented Jul 19, 2017 via email

joakime added a commit that referenced this issue Feb 26, 2019
Signed-off-by: Joakim Erdfelt <joakim@erdfelt.com>
joakime added a commit that referenced this issue Feb 27, 2019
Signed-off-by: Joakim Erdfelt <joakim@erdfelt.com>
joakime added a commit that referenced this issue Feb 27, 2019
Signed-off-by: Joakim Erdfelt <joakim@erdfelt.com>
joakime added a commit that referenced this issue Feb 27, 2019
Signed-off-by: Joakim Erdfelt <joakim@erdfelt.com>
joakime added a commit that referenced this issue Feb 27, 2019
+ Cleaning up test cases and javadoc
+ Cleaning up .valueOf() usages

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Feb 27, 2019
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Feb 27, 2019
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Feb 27, 2019
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Feb 27, 2019
+ Changing usages of JVM deprecated classes / methods as well
+ Cleaning up test cases and javadoc

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Feb 27, 2019
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Feb 27, 2019
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Feb 27, 2019
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Feb 27, 2019
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Feb 27, 2019
+ Changing usages of JVM deprecated classes / methods as well
+ Cleaning up test cases and javadoc

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Feb 27, 2019
…emoved concepts

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Feb 28, 2019
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Feb 28, 2019
+ Changing usages of JVM deprecated classes / methods as well
+ Cleaning up test cases and javadoc
+ Removing test methods that rely on deprecated and now removed concepts

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Mar 1, 2019
Issue #1676 - Removing deprecated methods and classes
joakime added a commit that referenced this issue Mar 1, 2019
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
@joakime
Copy link
Contributor

joakime commented Mar 1, 2019

Opened PR #3416 to handle the removal of Resource.getURL()

joakime added a commit that referenced this issue Mar 1, 2019
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Mar 1, 2019
…urce-geturl

Issue #1676 - Removing Deprecated Resource.getURL()
@joakime
Copy link
Contributor

joakime commented Mar 1, 2019

Considering this complete

@joakime joakime closed this as completed Mar 1, 2019
@joakime joakime changed the title Remove Deprecated classes & methods? Remove Deprecated classes & methods Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants