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

fix Context issues

XMLWordPrintable

    • b134
    • generic
    • generic
    • Verified

        javac uses an architectural model which until the addition of annotation processing assumed the existence of a single "Context" object for the compilation.

        With the introduction of annotation processing in JDK 5, the model was (imperfectly) changed to one Context per processing round.

        One major issue is that any custom objects registered in the initial context are not propogated to any subsequent contexts.

        This is a problem for the issue of reducing the incompatibilities between NetBeans and javac, because the general direction there is to have NetBeans register custom objects in the compilation context.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: