Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Commit

Permalink
Drop support for Java 1.6 and 1.7 (#802)
Browse files Browse the repository at this point in the history
  • Loading branch information
yurishkuro authored Sep 22, 2021
1 parent 6ed8df2 commit 9c11b8e
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 157 deletions.
9 changes: 5 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ Changes by Version

1.7.0 (unreleased)
-------------------
- Nothing yet.

- Drop support for Java 1.6 and 1.7 (#511) -- Yuri Shkuro


1.6.0 (2021-03-29)
-------------------

- Update the version of libthrift to 0.14.1 (#772). (#774) -- Robert Greig
- Add unit tests and crossdock in github actions (#775) -- Ashmita
- Fix dead loop in QueueProcessor (#763) -- Yaoliang Chen
- Update the version of libthrift to 0.14.1 (#772). (#774) -- Robert Greig
- Add unit tests and crossdock in github actions (#775) -- Ashmita
- Fix dead loop in QueueProcessor (#763) -- Yaoliang Chen


1.5.0 (2020-11-12)
Expand Down
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ subprojects {


compileJava {
sourceCompatibility = 1.6
targetCompatibility = 1.6
sourceCompatibility = 1.8
targetCompatibility = 1.8
}

compileTestJava {
Expand Down Expand Up @@ -145,9 +145,9 @@ subprojects {
}

dependencies {
annotationProcessor 'org.projectlombok:lombok:1.18.2'
compileOnly 'org.projectlombok:lombok:1.18.2'
compileOnly 'org.codehaus.mojo:animal-sniffer-annotations:1.16'
annotationProcessor 'org.projectlombok:lombok:1.18.20'
compileOnly 'org.projectlombok:lombok:1.18.20'
compileOnly 'org.codehaus.mojo:animal-sniffer-annotations:1.20'
}

signing {
Expand Down
3 changes: 1 addition & 2 deletions jaeger-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies {
testCompile group: 'ch.qos.logback', name: 'logback-classic', version: logbackVersion
testCompile group: 'io.micrometer', name: 'micrometer-registry-prometheus', version: micrometerVersion

signature 'org.codehaus.mojo.signature:java16:1.1@signature'
signature 'org.codehaus.mojo.signature:java18:1.0@signature'
}

task testJar(type: Jar, dependsOn: testClasses) {
Expand All @@ -38,4 +38,3 @@ task jaegerVersion {
}

compileJava.dependsOn jaegerVersion

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.Locale;
import java.util.concurrent.ThreadLocalRandom;

public class Utils {
public static String normalizeBaggageKey(String key) {
Expand Down Expand Up @@ -51,7 +52,7 @@ public static int ipToInt(String ip) throws EmptyIpException, NotFourOctetsExcep
public static long uniqueId() {
long val = 0;
while (val == 0) {
val = Java6CompatibleThreadLocalRandom.current().nextLong();
val = ThreadLocalRandom.current().nextLong();
}
return val;
}
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion jaeger-crossdock/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies {
// Testing Frameworks
testCompile group: 'junit', name: 'junit', version: junitVersion

signature 'org.codehaus.mojo.signature:java17:1.0@signature'
signature 'org.codehaus.mojo.signature:java18:1.0@signature'
}

jar {
Expand Down
2 changes: 1 addition & 1 deletion jaeger-micrometer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ dependencies {
testCompile group: 'junit', name: 'junit', version: junitVersion
testCompile group: 'io.micrometer', name: 'micrometer-registry-prometheus', version: micrometerVersion

signature 'org.codehaus.mojo.signature:java16:1.1@signature'
signature 'org.codehaus.mojo.signature:java18:1.0@signature'
}
2 changes: 1 addition & 1 deletion jaeger-thrift/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies {
testCompile group: 'org.awaitility', name: 'awaitility', version: awaitilityVersion
testCompile group: 'org.glassfish.jersey.test-framework.providers', name: 'jersey-test-framework-provider-grizzly2', version: jerseyVersion

signature 'org.codehaus.mojo.signature:java16:1.1@signature'
signature 'org.codehaus.mojo.signature:java18:1.0@signature'
}

compileThrift {
Expand Down
4 changes: 2 additions & 2 deletions jaeger-tracerresolver/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ description = 'TracerResolver implementation for Jaeger Tracer'
dependencies {
compile project(':jaeger-core')
compile group: 'io.opentracing.contrib', name: 'opentracing-tracerresolver', version: tracerResolverVersion

testCompile group: 'junit', name: 'junit', version: junitVersion

signature 'org.codehaus.mojo.signature:java16:1.1@signature'
signature 'org.codehaus.mojo.signature:java18:1.0@signature'
}
2 changes: 1 addition & 1 deletion jaeger-zipkin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ dependencies {
testCompile group: 'io.zipkin.zipkin2', name: 'zipkin-junit', version: '2.19.2'
testCompile group: 'com.tngtech.java', name: 'junit-dataprovider', version: junitDataProviderVersion

signature 'org.codehaus.mojo.signature:java16:1.1@signature'
signature 'org.codehaus.mojo.signature:java18:1.0@signature'
}

0 comments on commit 9c11b8e

Please sign in to comment.