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

langtools source code uses statics qualified by instance variables

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 7
    • tools
    • b86
    • generic
    • generic
    • Not verified

      The new -Xlint:static option has revealed a number of places in the langtools code where statics fields and methods are indexed by instance variables and not the owning tool.

      As a result, -Xlint:static has been disabled in langtools/make/build.properties.

      These uses of static items should be fixed.

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: