public void enums() throws Exception {
binLoader = new TestClassloaderWithRewriting();
String enumtype = "enums.WhatAnEnum";
String intface = "enums.ExtensibleEnum";
String runner = "enums.RunnerA";
TypeRegistry typeRegistry = getTypeRegistry(enumtype + "," + intface + "," + runner);
// ReloadableType rtypeIntface =
typeRegistry.addType(intface, loadBytesForClass(intface));
ReloadableType rtypeEnum = typeRegistry.addType(enumtype, loadBytesForClass(enumtype));
ReloadableType rtypeRunner = typeRegistry.addType(runner, loadBytesForClass(runner));
result = runUnguarded(rtypeRunner.getClazz(), "run");
// ClassPrinter.print(rtypeEnum.bytesInitial);
assertContains("[RED GREEN BLUE]", result.stdout);
System.out.println(result);
byte[] bs = retrieveRename(enumtype, enumtype + "2",