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

A synthetic class is not being flagged as such.

XMLWordPrintable

    • sparc
    • solaris_9

      Name: ss24420 Date: 11/25/2003


      As part of the fix for 4837030, javadoc's ClassDocImpl.java file received
      this workaround for a javac bug:

        D 1.70 03/11/16 23:31:22 gafter 103 102 00002/00000/01222
        (prepare for) 4837030: in 1.5, the default -target should be 1.5
        (fixes an incidental bug in javadoc that was causing a javah failure)
        ...
      void addAllClasses(ListBuffer<ClassDocImpl> l, boolean filtered) {
      try {
      if (isSynthetic()) return;
        + // sometimes synthetic classes are not marked synthetic
        + if (!JavadocTool.isValidClassName(tsym.name.toString())) return;

      Apparently a synthetic method isn't being flagged as synthetic, possibly
      because it's not being completed.

      "apt" will probably need a similar workaround. Once the underlying
      bug is fixed, the workaround can be removed from the two tools.
      Bug End:

      ======================================================================
      ###@###.### 10/25/04 22:37 GMT

            Unassigned Unassigned
            sseligmasunw Scott Seligman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: