Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -662,8 +662,6 @@ public void sourceFileProbeGroovy() throws IOException, URISyntaxException {
}

@Test
@EnabledForJreRange(
max = JRE.JAVA_25) // TODO: Fix for Java 26. Delete once Java 26 is officially released.
@DisabledIf(
value = "datadog.environment.JavaVirtualMachine#isJ9",
disabledReason = "Issue with J9 when compiling Kotlin code")
Expand Down Expand Up @@ -696,8 +694,6 @@ public void sourceFileProbeKotlin() throws IOException, URISyntaxException {
}

@Test
@EnabledForJreRange(
max = JRE.JAVA_25) // TODO: Fix for Java 26. Delete once Java 26 is officially released.
@DisabledIf(
value = "datadog.environment.JavaVirtualMachine#isJ9",
disabledReason = "Issue with J9 when compiling Kotlin code")
Expand Down Expand Up @@ -725,8 +721,6 @@ public void suspendKotlin() throws IOException, URISyntaxException {
}

@Test
@EnabledForJreRange(
max = JRE.JAVA_25) // TODO: Fix for Java 26. Delete once Java 26 is officially released.
@DisabledIf(
value = "datadog.environment.JavaVirtualMachine#isJ9",
disabledReason = "Issue with J9 when compiling Kotlin code")
Expand Down Expand Up @@ -760,8 +754,6 @@ public void suspendMethodKotlin() {
}

@Test
@EnabledForJreRange(
max = JRE.JAVA_25) // TODO: Fix for Java 26. Delete once Java 26 is officially released.
@DisabledIf(
value = "datadog.environment.JavaVirtualMachine#isJ9",
disabledReason = "Issue with J9 when compiling Kotlin code")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package datadog.trace.agent.tooling.muzzle

import datadog.trace.test.util.DDSpecification
import spock.lang.Ignore

import static TestAdviceClasses.InstanceofAdvice
import static TestAdviceClasses.LdcAdvice
Expand Down Expand Up @@ -114,8 +113,6 @@ class ReferenceCreatorTest extends DDSpecification {
references.get('datadog.trace.agent.tooling.muzzle.TestAdviceClasses$MethodBodyAdvice$A') != null
}

// TODO: remove ignore when we drop java 7 support.
@Ignore
def "invokedynamic creates references"() {
Comment thread
sarahchen6 marked this conversation as resolved.
setup:
Map<String, Reference> references = ReferenceCreator.createReferencesFrom(TestAdviceClasses.InDyAdvice.name, this.class.classLoader)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,10 @@ public static boolean instanceofMethod(final Object a) {
}
}

// Can't test this until java 7 is dropped.
public static class InDyAdvice {
// public static MethodBodyAdvice.HasMethod indyMethod(final MethodBodyAdvice.HasMethod a) {
// Runnable aStaticMethod = MethodBodyAdvice.B::aStaticMethod;
// return a::requiredMethod;
// }
public static MethodBodyAdvice.HasMethod indyMethod(final MethodBodyAdvice.HasMethod a) {
Runnable aStaticMethod = MethodBodyAdvice.B::aStaticMethod;
return a::requiredMethod;
}
}
}