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

LengthNotWritableFilter breaks the build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b40
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        http://ipwaa69.uk.oracle.com:8080/view/jdk9-dev/job/jdk9-dev-build/1239/console

        diff -r be3f5ca1edbf src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/LengthNotWritableFilter.java
        --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/LengthNotWritableFilter.java Wed Nov 12 14:12:01 2014 +0100
        +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/LengthNotWritableFilter.java Wed Nov 12 14:38:31 2014 +0100
        @@ -19,7 +19,7 @@
              * @param underlying array
              */
             LengthNotWritableFilter(final ArrayData underlying) {
        - this(underlying, new TreeMap<>());
        + this(underlying, new TreeMap<Long, Object>());
             }
         

        This fixes it. I built successfully with b37 on my machine :-(

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                lagergren Marcus Lagergren
                Reporter:
                lagergren Marcus Lagergren
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: