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

accidental debug printlns in NativeFunction.java

    XMLWordPrintable

    Details

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

      Description

      The following must be applied.

      diff -r 7dc1ce8ceb1f src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeFunction.java
      --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeFunction.java Thu Dec 17 08:31:24 2015 +0530
      +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/NativeFunction.java Thu Dec 17 11:02:51 2015 +0530
      @@ -97,11 +97,6 @@
           @Function(attributes = Attribute.NOT_ENUMERABLE)
           public static Object apply(final Object self, final Object thiz, final Object array) {
               checkCallable(self);
      -
      - System.out.println("self " + self);
      - System.out.println("thiz " + thiz);
      - System.out.println("array " + array);
      -
               final Object[] args = toApplyArgs(array);

               if (self instanceof ScriptFunction) {

        Attachments

          Activity

            People

            Assignee:
            sundar Sundararajan Athijegannathan
            Reporter:
            sundar Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: