Suppress "Inconsistent inner class entries" error when decompiling
This commit is contained in:
		
							parent
							
								
									640e1b4721
								
							
						
					
					
						commit
						3318a15cc5
					
				
					 1 changed files with 8 additions and 1 deletions
				
			
		|  | @ -105,7 +105,14 @@ public abstract class AbstractFernFlowerDecompiler implements LoomDecompiler { | ||||||
| 					spec.getMainClass().set(fernFlowerExecutor().getName()); | 					spec.getMainClass().set(fernFlowerExecutor().getName()); | ||||||
| 					spec.jvmArgs("-Xms200m", "-Xmx3G"); | 					spec.jvmArgs("-Xms200m", "-Xmx3G"); | ||||||
| 					spec.setArgs(args); | 					spec.setArgs(args); | ||||||
| 					spec.setErrorOutput(System.err); | 					spec.setErrorOutput(new ConsumingOutputStream(line -> { | ||||||
|  | 						if (line.startsWith("Inconsistent inner class entries")) { | ||||||
|  | 							// Suppress this | ||||||
|  | 							return; | ||||||
|  | 						} | ||||||
|  | 
 | ||||||
|  | 						System.err.println(line); | ||||||
|  | 					})); | ||||||
| 					spec.setStandardOutput(new ConsumingOutputStream(line -> { | 					spec.setStandardOutput(new ConsumingOutputStream(line -> { | ||||||
| 						if (line.startsWith("Listening for transport") || !line.contains("::")) { | 						if (line.startsWith("Listening for transport") || !line.contains("::")) { | ||||||
| 							System.out.println(line); | 							System.out.println(line); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue