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

order of subclasses in the permits clause can differ between compilations

XMLWordPrintable

    • b05

        short version is that the order of subclasses in the permits clause of sealed classes or interfaces can vary between compilations, thus producing non-deterministic output.

        reported by: pbielicki@gmail.com, see [1]

        [1] https://mail.openjdk.org/pipermail/compiler-dev/2023-December/025188.html

          1. GradleExecGraph.java
            1 kB
            Vicente Arturo Romero Zaldivar
          2. GradleExecGraphNodeExecutionInfo.java
            2 kB
            Vicente Arturo Romero Zaldivar
          3. log1.txt
            34 kB
            Vicente Arturo Romero Zaldivar
          4. log2.txt
            20 kB
            Vicente Arturo Romero Zaldivar

              vromero Vicente Arturo Romero Zaldivar
              vromero Vicente Arturo Romero Zaldivar
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: