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

[lworld] Implement javac flag -XDenablePrimitiveClasses

    XMLWordPrintable

Details

    Description

      Support for primitive classes should be off by default in javac and enabled with -XDEnablePrimitiveClasses.

      Restricted functionality should include:
      - Declarations of primitive classes
      - Recognition of primitive classes in the class reader
      - '.ref' types
      - '.default' expressions
      - Optionally, internals that deal with primitive value types (or just leave it and it will never run)

      Tests, including javac, Hotspot runtime, and Hotspot compiler, will need to be updated to use this flag.

      Looking ahead, we will want to be prepared to entirely exclude code dealing with primitive classes if the Value Objects JEP is delivered independently.

      Attachments

        Issue Links

          Activity

            People

              vromero Vicente Arturo Romero Zaldivar
              dlsmith Dan Smith
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: