Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
New upstream version 3.2.11
· a7722cad
Emmanuel Bourg
authored
Jul 15, 2019
a7722cad
New upstream version 3.2.12
· a2dfdec1
Emmanuel Bourg
authored
Jul 15, 2019
a2dfdec1
Show whitespace changes
Inline
Side-by-side
.travis.yml
View file @
a2dfdec1
sudo
:
false
language
:
java
before_script
:
-
echo "MAVEN_OPTS='-Xmx512m -Dgpg.skip=true'" > ~/.mavenrc
-
if [[ "x$JDK" == *'x9'* ]]; then remove_dir_from_path $JAVA_HOME/bin; export JAVA_HOME=/usr/lib/jvm/java-9-oracle; export PATH=$JAVA_HOME/bin:$PATH; java -Xmx32m -version; fi
cache
:
directories
:
-
'
$HOME/.m2/repository'
before_cache
:
# No sense in caching current build artifacts
rm -rf $HOME/.m2/repository/cglib
before_script
:
-
wget https://archive.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip
-
unzip -qq apache-maven-3.2.5-bin.zip
-
export M2_HOME="$PWD/apache-maven-3.2.5"
-
export PATH="$M2_HOME/bin:$PATH"
-
echo "MAVEN_OPTS='-Xmx512m -Dgpg.skip=true'" > ~/.mavenrc
-
if [[ "x$JDK" == *'x9'* ]]; then remove_dir_from_path $JAVA_HOME/bin; export JAVA_HOME=/usr/lib/jvm/java-9-oracle; export PATH=$JAVA_HOME/bin:$PATH; java -Xmx32m -version; fi
# Skip default "mvn install" issued by Travis
install
:
true
script
:
-
mvn test
-B -V
-
mvn
-Dgpg.skip=true -B -V
test
matrix
:
include
:
-
jdk
:
openjdk8
env
:
JDK8
-
jdk
:
openjdk9
env
:
JDK=9
-
jdk
:
oraclejdk11
env
:
JDK=11
fast_finish
:
true
allow_failures
:
-
env
:
JDK=9
include
:
-
jdk
:
oraclejdk8
-
jdk
:
oraclejdk8
addons
:
apt
:
packages
:
-
oracle-java9-installer
env
:
JDK=9
-
jdk
:
openjdk7
-
env
:
JDK=11
branches
:
only
:
-
master
cglib-integration-test/pom.xml
View file @
a2dfdec1
...
...
@@ -9,7 +9,7 @@
<parent>
<groupId>
cglib
</groupId>
<artifactId>
cglib-parent
</artifactId>
<version>
3.2.1
0
</version>
<version>
3.2.1
2
</version>
</parent>
<!-- ====================================================================== -->
...
...
cglib-jmh/pom.xml
View file @
a2dfdec1
...
...
@@ -7,7 +7,7 @@
<parent>
<artifactId>
cglib-parent
</artifactId>
<groupId>
cglib
</groupId>
<version>
3.2.1
0
</version>
<version>
3.2.1
2
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
...
...
cglib-nodep/pom.xml
View file @
a2dfdec1
...
...
@@ -9,7 +9,7 @@
<parent>
<groupId>
cglib
</groupId>
<artifactId>
cglib-parent
</artifactId>
<version>
3.2.1
0
</version>
<version>
3.2.1
2
</version>
</parent>
<!-- ====================================================================== -->
...
...
@@ -23,6 +23,17 @@
<!-- ====================================================================== -->
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-jar-plugin
</artifactId>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>
net.sf.cglib
</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>
org.sonatype.plugins
</groupId>
<artifactId>
jarjar-maven-plugin
</artifactId>
...
...
cglib-sample/pom.xml
View file @
a2dfdec1
...
...
@@ -9,7 +9,7 @@
<parent>
<groupId>
cglib
</groupId>
<artifactId>
cglib-parent
</artifactId>
<version>
3.2.1
0
</version>
<version>
3.2.1
2
</version>
</parent>
<!-- ====================================================================== -->
...
...
cglib/pom.xml
View file @
a2dfdec1
...
...
@@ -9,7 +9,7 @@
<parent>
<groupId>
cglib
</groupId>
<artifactId>
cglib-parent
</artifactId>
<version>
3.2.1
0
</version>
<version>
3.2.1
2
</version>
</parent>
<!-- ====================================================================== -->
...
...
@@ -64,6 +64,7 @@
<dependency>
<groupId>
org.apache.ant
</groupId>
<artifactId>
ant
</artifactId>
<optional>
true
</optional>
</dependency>
<dependency>
...
...
cglib/src/main/java/net/sf/cglib/core/CodeEmitter.java
View file @
a2dfdec1
...
...
@@ -849,10 +849,10 @@ public class CodeEmitter extends LocalVariablesSorter {
Signature
sig
=
method
.
getSignature
();
if
(
sig
.
getName
().
equals
(
Constants
.
CONSTRUCTOR_NAME
))
{
invoke_constructor
(
type
,
sig
);
}
else
if
(
TypeUtils
.
isInterface
(
classInfo
.
getModifiers
()))
{
invoke_interface
(
type
,
sig
);
}
else
if
(
TypeUtils
.
isStatic
(
method
.
getModifiers
()))
{
invoke_static
(
type
,
sig
);
}
else
if
(
TypeUtils
.
isInterface
(
classInfo
.
getModifiers
()))
{
invoke_interface
(
type
,
sig
);
}
else
{
invoke_virtual
(
virtualType
,
sig
);
}
...
...
pom.xml
View file @
a2dfdec1
...
...
@@ -14,7 +14,7 @@
<!-- ====================================================================== -->
<groupId>
cglib
</groupId>
<artifactId>
cglib-parent
</artifactId>
<version>
3.2.1
0
</version>
<version>
3.2.1
2
</version>
<packaging>
pom
</packaging>
<name>
Code Generation Library
</name>
...
...
@@ -54,7 +54,7 @@
<java.version.source>
1.5
</java.version.source>
<java.version.target>
1.5
</java.version.target>
<asm.version>
7.
0
</asm.version>
<asm.version>
7.
1
</asm.version>
<ant.version>
1.10.3
</ant.version>
<jmh.version>
1.21
</jmh.version>
<maven-compiler-plugin.version>
3.7.0
</maven-compiler-plugin.version>
...
...
@@ -232,7 +232,6 @@
<groupId>
org.apache.ant
</groupId>
<artifactId>
ant
</artifactId>
<version>
${ant.version}
</version>
<optional>
true
</optional>
</dependency>
<dependency>
...
...