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

Update JRTIndex to only be used for source=8

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      The JRTIndex file, used by javac, will soon need to handle preview mode for the JRT file system in the up-coming Valhalla changes.

      Jan Lahoda suggests that (apart from small things like 'isInJrt()'), the bulk of the class, including how it opens the JRT file system, should only exist for code compiled via '--source 8', which would let us side-step the question of finding the preview mode later, since in that case it must be 'false'.

      Since the bulk of this work doesn't directly involve preview mode, it seems it would be better to go into the JDK mainline first.

            Unassigned Unassigned
            dabeaumo David Beaumont
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: