Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8301295

(jdeps) Deprecate jdeps -profile option

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 21
    • tools
    • None
    • behavioral
    • minimal
    • A warning message generated if -profile option is used.
    • Other
    • JDK

      Summary

      Deprecate the jdeps -profile option.

      Problem

      Compact profiles are defined in Java SE 8 and becomes legacy in Java SE 9, with modules. By default jdeps shows the types and their modules that a class depend on. jdeps -profile option shows which compact profile of the types that a class depends on instead. Given modules have been introduced for many releases, this option can be deprecated and removed in a future release to reduce the maintenance.

      Solution

      Deprecate -profile option. A warning message is generated if the -profile option is used.

      Specification

      The man page will be updated to include the following text for the option:

      This option is deprecated and may be removed in a future release.

      A message with similar content will be generated if the option is used when invoking jdeps.

            mchung Mandy Chung (Inactive)
            mchung Mandy Chung (Inactive)
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: