jdk/src/java.base/share/classes/java/lang/invoke/ProxyClassesDumper.java
author chegar
Sun, 17 Aug 2014 15:54:13 +0100
changeset 25859 3317bb8137f4
parent 20748 jdk/src/share/classes/java/lang/invoke/ProxyClassesDumper.java@fbf53402134d
child 29986 97167d851fc4
permissions -rw-r--r--
8054834: Modular Source Code Reviewed-by: alanb, chegar, ihse, mduigou Contributed-by: alan.bateman@oracle.com, alex.buckley@oracle.com, chris.hegarty@oracle.com, erik.joelsson@oracle.com, jonathan.gibbons@oracle.com, karen.kinnear@oracle.com, magnus.ihse.bursie@oracle.com, mandy.chung@oracle.com, mark.reinhold@oracle.com, paul.sandoz@oracle.com
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
20748
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
     1
/*
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
     2
 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
     4
 *
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    10
 *
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    15
 * accompanied this code).
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    16
 *
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    20
 *
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    23
 * questions.
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    24
 */
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    25
package java.lang.invoke;
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    26
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    27
import sun.util.logging.PlatformLogger;
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    28
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    29
import java.io.FilePermission;
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    30
import java.nio.file.Files;
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    31
import java.nio.file.InvalidPathException;
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    32
import java.nio.file.Path;
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    33
import java.nio.file.Paths;
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    34
import java.security.AccessController;
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    35
import java.security.PrivilegedAction;
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    36
import java.util.Objects;
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    37
import java.util.concurrent.atomic.AtomicBoolean;
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    38
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    39
/**
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    40
 * Helper class used by InnerClassLambdaMetafactory to log generated classes
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    41
 *
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    42
 * @implNote
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    43
 * <p> Because this class is called by LambdaMetafactory, make use
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    44
 * of lambda lead to recursive calls cause stack overflow.
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    45
 */
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    46
final class ProxyClassesDumper {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    47
    private static final char[] HEX = {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    48
        '0', '1', '2', '3', '4', '5', '6', '7',
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    49
        '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    50
    };
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    51
    private static final char[] BAD_CHARS = {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    52
        '\\', ':', '*', '?', '"', '<', '>', '|'
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    53
    };
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    54
    private static final String[] REPLACEMENT = {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    55
        "%5C", "%3A", "%2A", "%3F", "%22", "%3C", "%3E", "%7C"
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    56
    };
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    57
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    58
    private final Path dumpDir;
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    59
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    60
    public static ProxyClassesDumper getInstance(String path) {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    61
        if (null == path) {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    62
            return null;
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    63
        }
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    64
        try {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    65
            path = path.trim();
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    66
            final Path dir = Paths.get(path.length() == 0 ? "." : path);
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    67
            AccessController.doPrivileged(new PrivilegedAction<Void>() {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    68
                    @Override
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    69
                    public Void run() {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    70
                        validateDumpDir(dir);
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    71
                        return null;
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    72
                    }
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    73
                }, null, new FilePermission("<<ALL FILES>>", "read, write"));
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    74
            return new ProxyClassesDumper(dir);
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    75
        } catch (InvalidPathException ex) {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    76
            PlatformLogger.getLogger(ProxyClassesDumper.class.getName())
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    77
                          .warning("Path " + path + " is not valid - dumping disabled", ex);
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    78
        } catch (IllegalArgumentException iae) {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    79
            PlatformLogger.getLogger(ProxyClassesDumper.class.getName())
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    80
                          .warning(iae.getMessage() + " - dumping disabled");
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    81
        }
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    82
        return null;
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    83
    }
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    84
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    85
    private ProxyClassesDumper(Path path) {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    86
        dumpDir = Objects.requireNonNull(path);
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    87
    }
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    88
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    89
    private static void validateDumpDir(Path path) {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    90
        if (!Files.exists(path)) {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    91
            throw new IllegalArgumentException("Directory " + path + " does not exist");
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    92
        } else if (!Files.isDirectory(path)) {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    93
            throw new IllegalArgumentException("Path " + path + " is not a directory");
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    94
        } else if (!Files.isWritable(path)) {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    95
            throw new IllegalArgumentException("Directory " + path + " is not writable");
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    96
        }
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    97
    }
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    98
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
    99
    public static String encodeForFilename(String className) {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   100
        final int len = className.length();
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   101
        StringBuilder sb = new StringBuilder(len);
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   102
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   103
        for (int i = 0; i < len; i++) {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   104
            char c = className.charAt(i);
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   105
            // control characters
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   106
            if (c <= 31) {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   107
                sb.append('%');
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   108
                sb.append(HEX[c >> 4 & 0x0F]);
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   109
                sb.append(HEX[c & 0x0F]);
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   110
            } else {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   111
                int j = 0;
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   112
                for (; j < BAD_CHARS.length; j++) {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   113
                    if (c == BAD_CHARS[j]) {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   114
                        sb.append(REPLACEMENT[j]);
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   115
                        break;
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   116
                    }
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   117
                }
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   118
                if (j >= BAD_CHARS.length) {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   119
                    sb.append(c);
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   120
                }
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   121
            }
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   122
        }
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   123
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   124
        return sb.toString();
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   125
    }
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   126
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   127
    public void dumpClass(String className, final byte[] classBytes) {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   128
        Path file;
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   129
        try {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   130
            file = dumpDir.resolve(encodeForFilename(className) + ".class");
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   131
        } catch (InvalidPathException ex) {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   132
            PlatformLogger.getLogger(ProxyClassesDumper.class.getName())
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   133
                          .warning("Invalid path for class " + className);
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   134
            return;
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   135
        }
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   136
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   137
        try {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   138
            Path dir = file.getParent();
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   139
            Files.createDirectories(dir);
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   140
            Files.write(file, classBytes);
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   141
        } catch (Exception ignore) {
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   142
            PlatformLogger.getLogger(ProxyClassesDumper.class.getName())
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   143
                          .warning("Exception writing to path at " + file.toString());
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   144
            // simply don't care if this operation failed
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   145
        }
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   146
    }
fbf53402134d 8023524: Mechanism to dump generated lambda classes / log lambda code generation
henryjen
parents:
diff changeset
   147
}