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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      (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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sadayapalam Srikanth Adayapalam
              Reporter:
              sadayapalam Srikanth Adayapalam
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: