Github user jinfengni commented on a diff in the pull request:

    https://github.com/apache/drill/pull/660#discussion_r93128101
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/compile/DrillJavaFileObject.java
 ---
    @@ -67,6 +72,22 @@ public boolean isCompiled() {
         }
       }
     
    +  /**
    +   * Return the byte codes for the main class and any nested
    +   * classes.
    +   *
    +   * @return map of fully-qualified class names to byte codes
    +   * for the class
    +   */
    +
    +  public Map<String,byte[]> getClassByteCodes() {
    +    Map<String,byte[]> results = new HashMap<>();
    +    for(DrillJavaFileObject outputFile : outputFiles.values()) {
    +      results.put(outputFile.className, 
outputFile.outputStream.toByteArray());
    --- End diff --
    
    Same as the comment for JaninoClassComplier regarding the key = ClassName. 



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to