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

Recipe to Migrate Miscellaneous Deprecated APIs #10

Closed
7 of 19 tasks
tkvangorder opened this issue May 31, 2021 · 1 comment
Closed
7 of 19 tasks

Recipe to Migrate Miscellaneous Deprecated APIs #10

tkvangorder opened this issue May 31, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@tkvangorder
Copy link
Contributor

tkvangorder commented May 31, 2021

  • boolean java.util.concurrent.atomic.AtomicBoolean.weakCompareAndSet() -> weakCompareAndSetPlain()
  • boolean java.util.concurrent.atomic.AtomicInteger.weakCompareAndSet() -> weakCompareAndSetPlain()
  • boolean java.util.concurrent.atomic.AtomicIntegerArray.weakCompareAndSet() -> weakCompareAndSetPlain()
  • boolean java.util.concurrent.atomic.AtomicLong.weakCompareAndSet() -> weakCompareAndSetPlain()
  • boolean java.util.concurrent.atomic.AtomicLongArray.weakCompareAndSet() -> weakCompareAndSetPlain()
  • boolean java.util.concurrent.atomic.AtomicReference.weakCompareAndSet() -> weakCompareAndSetPlain()
  • boolean java.util.concurrent.atomic.AtomicReferenceArray.weakCompareAndSet() -> weakCompareAndSetPlain()

Low priority:

  • class java.util.jar.Pack200 // add comment for removal?
  • interface java.util.jar.Pack200.Unpacker // add comment for removal?
  • interface java.util.jar.Pack200.Packer // add comment for removal?
  • javax.tools.ToolProvider.getSystemToolClassLoader() -> Mark with a note to use getSystemToolinstead // add comment for removal?

Defer until later. There are either no direct replacements or the changes are tricky to implement.

  • java.util.jar.Attributes.Name.EXTENSION_INSTALLATION // No direct replacement, since the feature is unsupported.
  • java.util.jar.Attributes.Name.IMPLEMENTATION_VENDOR_ID // No direct replacement, since the feature is unsupported.
  • java.util.jar.Attributes.Name.IMPLEMENTATION_URL // No direct replacement, since the feature is unsupported.
  • boolean java.lang.reflect.AccessibleObject.isAccessible() -> canAccess() // Unsafe. The replacement is @CallerSensitive. There are significant changes between isAccessible and canAcceess.
  • class javax.accessibility.AccessibleResourceBundle // No direct replacement.
  • java.lang.Class java.lang.reflect.Proxy.getProxyClass(java.lang.ClassLoader,java.lang.Class[]) -> See JavaDocs // Technically, this is doable, but fairly risky and will take time. Defer until users request support for this feature.
  • javax.imageio.spi.ImageReaderSpi.STANDARD_INPUT_TYPE -> See JavaDocs // Defer until users request support for this feature.
  • javax.imageio.spi.ImageWriterSpi.STANDARD_OUTPUT_TYPE -> See JavaDocs // Defer until users request support for this feature.
@tkvangorder tkvangorder added the enhancement New feature or request label May 31, 2021
@tkvangorder tkvangorder changed the title Recipe to migrate miscellaneous deprecated API Recipe to migrate miscellaneous deprecated APIs Jun 1, 2021
@tkvangorder tkvangorder changed the title Recipe to migrate miscellaneous deprecated APIs Recipe to Migrate Miscellaneous Deprecated APIs Jun 1, 2021
@traceyyoshima traceyyoshima self-assigned this Jun 8, 2021
@traceyyoshima
Copy link
Contributor

Closing issue - the remaining items are either tricky, not possible, or are mostly cosmetic. Will reopen issues based on user input.

@tkvangorder tkvangorder added this to the 0.2.0 milestone Jun 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants