Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b56
    • CPU:
      generic
    • OS:
      solaris_8

      Description

      Date: Sat, 13 Mar 2004 18:37:28 -0500
      From: <###@###.###>
      Subject: Bug in Pretty.java in generics 2.4
      To: <###@###.###>

      Since generics 2.2 there had been a bug in Pretty.java
      Pretty.java in 2.2, 2.4 and jdk1.5-b40 does not output import
      statements.
      It does output imports with * but not single class ones.

      I know you are very busy with and it is a very low priority for you but
      I wonder if it would be possible to fix it. If it is not possible to fix
      it any time soon I would greatly appreciate if you could let me know

      The problem seems to be in following condition in isUsed statement but I
      am not 100% sure

              if (name == name.table.asterisk ||
                  isUsed(TreeInfo.symbol(imp.qualid), cdef)) {

        Attachments

          Activity

            People

            • Assignee:
              gafter Neal Gafter
              Reporter:
              gafter Neal Gafter
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: