Skip to content

Commit

Permalink
Revert "Repack ASM classes in esotericsoftware namespace."
Browse files Browse the repository at this point in the history
This reverts commit ade0542.

shaded jar shall be used instead.
  • Loading branch information
magro committed Jul 16, 2017
1 parent ade0542 commit e023482
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<classpathentry excluding="**/.svn/*" kind="src" path="test"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="build/junit-4.6.jar"/>
<classpathentry exported="true" kind="lib" path="lib/asm-5.1-es.jar"/>
<classpathentry kind="lib" path="lib/asm-5.1.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Binary file removed build/jarjar-command-1.0.0-all.jar
Binary file not shown.
1 change: 0 additions & 1 deletion build/jarjar.rules

This file was deleted.

Binary file removed lib/asm-5.1-es.jar
Binary file not shown.
File renamed without changes.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.esotericsoftware</groupId>
<artifactId>reflectasm</artifactId>
<version>1.11.6-SNAPSHOT</version>
<version>1.11.5-SNAPSHOT</version>
<packaging>bundle</packaging>
<name>ReflectASM</name>
<description>High performance Java reflection using code generation</description>
Expand Down
8 changes: 2 additions & 6 deletions project.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
version: 1.11.5
version: 1.11.4
---
classpath build/jarjar-command-1.0.0-all.jar;
com.tonicsystems.jarjar.Main.main(new String[] {
"-rules", "build/jarjar.rules", "build/asm-5.1.jar", "-output", "lib/asm-5.1-es.jar"
});
Build.build(project);
Build.oneJAR(project);
Build.oneJAR(project);
6 changes: 3 additions & 3 deletions src/com/esotericsoftware/reflectasm/ConstructorAccess.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

package com.esotericsoftware.reflectasm;

import static com.esotericsoftware.asm.Opcodes.*;
import static org.objectweb.asm.Opcodes.*;

import java.lang.reflect.Constructor;
import java.lang.reflect.Modifier;

import com.esotericsoftware.asm.ClassWriter;
import com.esotericsoftware.asm.MethodVisitor;
import org.objectweb.asm.ClassWriter;
import org.objectweb.asm.MethodVisitor;

public abstract class ConstructorAccess<T> {
boolean isNonStaticMemberClass;
Expand Down
10 changes: 5 additions & 5 deletions src/com/esotericsoftware/reflectasm/FieldAccess.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@

package com.esotericsoftware.reflectasm;

import static com.esotericsoftware.asm.Opcodes.*;
import static org.objectweb.asm.Opcodes.*;

import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.util.ArrayList;

import com.esotericsoftware.asm.ClassWriter;
import com.esotericsoftware.asm.Label;
import com.esotericsoftware.asm.MethodVisitor;
import com.esotericsoftware.asm.Type;
import org.objectweb.asm.ClassWriter;
import org.objectweb.asm.Label;
import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.Type;

public abstract class FieldAccess {
private String[] fieldNames;
Expand Down
12 changes: 6 additions & 6 deletions src/com/esotericsoftware/reflectasm/MethodAccess.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@

package com.esotericsoftware.reflectasm;

import static com.esotericsoftware.asm.Opcodes.*;
import static org.objectweb.asm.Opcodes.*;

import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.ArrayList;
import java.util.Arrays;

import com.esotericsoftware.asm.ClassWriter;
import com.esotericsoftware.asm.Label;
import com.esotericsoftware.asm.MethodVisitor;
import com.esotericsoftware.asm.Opcodes;
import com.esotericsoftware.asm.Type;
import org.objectweb.asm.ClassWriter;
import org.objectweb.asm.Label;
import org.objectweb.asm.MethodVisitor;
import org.objectweb.asm.Opcodes;
import org.objectweb.asm.Type;

public abstract class MethodAccess {
private String[] methodNames;
Expand Down

0 comments on commit e023482

Please sign in to comment.