decompiler: support java 9 bytecode version

This commit is contained in:
Egor.Ushakov
2016-02-29 15:31:12 +03:00
parent 94851b6cbb
commit ec51c10d08
2 changed files with 5 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2014 JetBrains s.r.o.
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -180,6 +180,8 @@ public class StructClass extends StructMember {
public int getBytecodeVersion() {
switch (majorVersion) {
case 53:
return CodeConstants.BYTECODE_JAVA_9;
case 52:
return CodeConstants.BYTECODE_JAVA_8;
case 51: