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

Solaris: __USE_LEGACY_PROTOTYPES__ is redundant and should be removed

XMLWordPrintable

    • b131
    • x86_64, sparc_64
    • solaris, solaris_11, solaris_12
    • Verified

      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.

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

              Created:
              Updated:
              Resolved: