[lworld] A couple of cleanups to Unified class file generation scheme

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • repo-valhalla
    • Affects Version/s: repo-valhalla
    • Component/s: tools
    • generic
    • generic

      (1) com.sun.tools.javac.code.Printer#visitClassType should protect against missing class files in the manner of how com.sun.tools.javac.code.Type.ClassType#toString wraps the calls to isReferenceProjection()

      (2) In com.sun.tools.javac.comp.Lower#access(com.sun.tools.javac.code.Symbol, com.sun.tools.javac.tree.JCTree.JCExpression, com.sun.tools.javac.tree.JCTree.JCExpression, boolean)

      the code block:

      if (requireReferenceProjection) {
             flatname = flatname.append('$', names.ref);
      }

      should be invoked only for the case where we generate bifurcated classes

            Assignee:
            Srikanth Adayapalam (Inactive)
            Reporter:
            Srikanth Adayapalam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: