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

LengthNotWritableFilter breaks the build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1
    • 9
    • None
    • core-libs
    • b40
    • generic
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: