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

Solaris: __USE_LEGACY_PROTOTYPES__ is redundant and should be removed

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b131
    • CPU:
      x86_64, sparc_64
    • OS:
      solaris, solaris_11, solaris_12
    • Verification:
      Verified

      Description

      The following files in the hotspot source define the __USE_LEGACY_PROTOTYPES__ macro when it isn't required:

      src/os/solaris/vm/jvm_solaris.h
      src/share/vm/utilities/globalDefinitions_sparcWorks.hpp
      hotspot/src/closed/os/solaris/vm/os_perf_solaris.cpp

      In addition "__" macros are usually private to the system headers and may change at any time. The use of __USE_LEGACY_PROTOTYPES__ should therefore be removed.

        Attachments

          Activity

            People

            Assignee:
            alanbur Alan Burlison
            Reporter:
            alanbur Alan Burlison
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: