<commit_before>cask 'java-beta' do
  version '1.8.0_122-b01'
  sha256 '49438ee031674612f074da1cecf6718c7c6f2ed1fe951f24faf3dc7c92355cf5'

  url 'http://www.java.net/download/java/jdk8u122/archive/b01/binaries/jdk-8u122-ea-bin-b01-macosx-x86_64-20_sep_2016.dmg',
      cookies: { 'oraclelicense' => 'accept-securebackup-cookie' }
  name 'Java Standard Edition Development Kit'
  homepage 'https://jdk8.java.net/download.html'

  pkg 'JDK 8 Update 122.pkg'

  postflight do
    system '/usr/bin/sudo', '-E', '--',
           '/usr/libexec/PlistBuddy', '-c', 'Add :JavaVM:JVMCapabilities: string BundledApp', "/Library/Java/JavaVirtualMachines/jdk#{version}.jdk/Contents/Info.plist"
    system '/usr/bin/sudo', '-E', '--',
           '/usr/libexec/PlistBuddy', '-c', 'Add :JavaVM:JVMCapabilities: string JNI',        "/Library/Java/JavaVirtualMachines/jdk#{version}.jdk/Contents/Info.plist"
    system '/usr/bin/sudo', '-E', '--',<commit_msg>Java Beta 1.8.0_122-b04<commit_after>cask 'java-beta' do
  version '1.8.0_122-b04'
  sha256 '01df7e767ede9bb17411c32dfd45349ae2bd6ca9d979b98e276294b9ad6eb6d6'

  url 'http://download.java.net/java/jdk8u122/archive/b04/binaries/jdk-8u122-ea-bin-b04-macosx-x86_64-25_oct_2016.dmg',
      cookies: { 'oraclelicense' => 'accept-securebackup-cookie' }
  name 'Java Standard Edition Development Kit'
  homepage 'https://jdk8.java.net/download.html'

  pkg 'JDK 8 Update 122.pkg'

  postflight do
    system '/usr/bin/sudo', '-E', '--',
           '/usr/libexec/PlistBuddy', '-c', 'Add :JavaVM:JVMCapabilities: string BundledApp', "/Library/Java/JavaVirtualMachines/jdk#{version}.jdk/Contents/Info.plist"
    system '/usr/bin/sudo', '-E', '--',
           '/usr/libexec/PlistBuddy', '-c', 'Add :JavaVM:JVMCapabilities: string JNI',        "/Library/Java/JavaVirtualMachines/jdk#{version}.jdk/Contents/Info.plist"
    system '/usr/bin/sudo', '-E', '--',
{'fraction_non_alphanumeric': 0.1751592356687898, 'fraction_numerical': 0.08492569002123142, 'mean_word_length': 3.8209718670076724, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4965808', 'n_tokens_mistral': 850, 'n_tokens_neox': 743, 'n_words': 102}