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

accidental debug printlns in NativeFunction.java

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • core-libs
    • b99
    • generic
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: