Skip to content
Permalink
Browse files

Upgrade errorprone dependency to 2.3.4

  • Loading branch information
suztomo authored and ejona86 committed Dec 30, 2019
1 parent e161d0c commit a737e04c757378b26361f6e0e411f21b95995276
Showing with 5 additions and 5 deletions.
  1. +1 −1 WORKSPACE
  2. +2 −2 agent/src/main/java/io/perfmark/agent/PerfMarkTransformer.java
  3. +2 −2 build.gradle
@@ -15,7 +15,7 @@ load("@rules_jvm_external//:defs.bzl", "maven_install")
maven_install(
artifacts = [
"junit:junit:4.12",
"com.google.errorprone:error_prone_annotations:2.3.3",
"com.google.errorprone:error_prone_annotations:2.3.4",
"com.google.code.findbugs:jsr305:3.0.2",
"com.google.code.gson:gson:2.8.6",
"com.google.truth:truth:1.0",
@@ -151,7 +151,7 @@ public void visitSource(String sourceFileName, String debug) {
public MethodVisitor visitMethod(
int access, String name, String descriptor, String signature, String[] exceptions) {
clinitSeen = clinitSeen || name.equals("<clinit>");
return new PerfMarkMethodVisitor(
return new PerfMarkClassReader.PerfMarkMethodVisitor(
super.visitMethod(access, name, descriptor, signature, exceptions), name);
}

@@ -257,7 +257,7 @@ static String deriveFileName(String className) {
@Override
public MethodVisitor visitMethod(
int access, String name, String descriptor, String signature, String[] exceptions) {
return new PerfMarkMethodVisitor(
return new PerfMarkMethodRewriter.PerfMarkMethodVisitor(
perfmarkClassReader.api(),
super.visitMethod(access, name, descriptor, signature, exceptions),
name);
@@ -123,7 +123,7 @@ subprojects {

if (rootProject.properties.get('errorProne', true)) {
dependencies {
errorprone 'com.google.errorprone:error_prone_core:2.3.3'
errorprone 'com.google.errorprone:error_prone_core:2.3.4'
errorproneJavac 'com.google.errorprone:javac:9+181-r4173-1'
}
} else {
@@ -144,7 +144,7 @@ subprojects {

ext {
libraries = [
errorprone: 'com.google.errorprone:error_prone_annotations:2.3.3',
errorprone: 'com.google.errorprone:error_prone_annotations:2.3.4',
jsr305: 'com.google.code.findbugs:jsr305:3.0.2',
gson: 'com.google.code.gson:gson:2.8.6',
truth: 'com.google.truth:truth:1.0'

0 comments on commit a737e04

Please sign in to comment.
You can’t perform that action at this time.