Skip to content

Commit eee02d9

Browse files
committed
Fix build.
1 parent 61f3c09 commit eee02d9

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
distribution: temurin
2424
cache: maven
2525
- name: Build project
26-
run: ./mvnw verify -Pjava25
26+
run: ./mvnw verify -Pjava24
2727
continue-on-error: false
2828
hotspot-supported:
2929
name: Any (supported)

byte-buddy-dep/src/test/java/net/bytebuddy/agent/builder/AgentBuilderDefaultApplicationTest.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ public void testDecorationBlocked() throws Exception {
554554
}
555555

556556
@Test
557-
@JavaVersionRule.Enforce(value = 8, j9 = false)
557+
@JavaVersionRule.Enforce(value = 8, atMost = 23, j9 = false)
558558
@AgentAttachmentRule.Enforce
559559
@IntegrationRule.Enforce
560560
public void testNonCapturingLambda() throws Exception {
@@ -578,7 +578,7 @@ public void testNonCapturingLambda() throws Exception {
578578
}
579579

580580
@Test
581-
@JavaVersionRule.Enforce(value = 8, j9 = false)
581+
@JavaVersionRule.Enforce(value = 8, atMost = 23, j9 = false)
582582
@AgentAttachmentRule.Enforce
583583
@IntegrationRule.Enforce
584584
public void testNonCapturingLambdaIsConstant() throws Exception {
@@ -601,7 +601,7 @@ public void testNonCapturingLambdaIsConstant() throws Exception {
601601
}
602602

603603
@Test
604-
@JavaVersionRule.Enforce(value = 8, j9 = false)
604+
@JavaVersionRule.Enforce(value = 8, atMost = 23, j9 = false)
605605
@AgentAttachmentRule.Enforce
606606
@IntegrationRule.Enforce
607607
public void testLambdaFactoryIsReset() throws Exception {
@@ -621,7 +621,7 @@ public void testLambdaFactoryIsReset() throws Exception {
621621
}
622622

623623
@Test
624-
@JavaVersionRule.Enforce(value = 8, j9 = false)
624+
@JavaVersionRule.Enforce(value = 8, atMost = 23, j9 = false)
625625
@AgentAttachmentRule.Enforce
626626
@IntegrationRule.Enforce
627627
public void testArgumentCapturingLambda() throws Exception {
@@ -645,7 +645,7 @@ public void testArgumentCapturingLambda() throws Exception {
645645
}
646646

647647
@Test
648-
@JavaVersionRule.Enforce(value = 8, j9 = false)
648+
@JavaVersionRule.Enforce(value = 8, atMost = 23, j9 = false)
649649
@AgentAttachmentRule.Enforce
650650
@IntegrationRule.Enforce
651651
public void testArgumentCapturingLambdaIsNotConstant() throws Exception {
@@ -668,7 +668,7 @@ public void testArgumentCapturingLambdaIsNotConstant() throws Exception {
668668
}
669669

670670
@Test
671-
@JavaVersionRule.Enforce(value = 8, j9 = false)
671+
@JavaVersionRule.Enforce(value = 8, atMost = 23, j9 = false)
672672
@AgentAttachmentRule.Enforce
673673
@IntegrationRule.Enforce
674674
public void testInstanceCapturingLambda() throws Exception {
@@ -692,7 +692,7 @@ public void testInstanceCapturingLambda() throws Exception {
692692
}
693693

694694
@Test
695-
@JavaVersionRule.Enforce(value = 8, j9 = false)
695+
@JavaVersionRule.Enforce(value = 8, atMost = 23, j9 = false)
696696
@AgentAttachmentRule.Enforce
697697
@IntegrationRule.Enforce
698698
public void testNonCapturingLambdaWithArguments() throws Exception {
@@ -715,7 +715,7 @@ public void testNonCapturingLambdaWithArguments() throws Exception {
715715
}
716716

717717
@Test
718-
@JavaVersionRule.Enforce(value = 8, j9 = false)
718+
@JavaVersionRule.Enforce(value = 8, atMost = 23, j9 = false)
719719
@AgentAttachmentRule.Enforce
720720
@IntegrationRule.Enforce
721721
public void testCapturingLambdaWithArguments() throws Exception {
@@ -738,7 +738,7 @@ public void testCapturingLambdaWithArguments() throws Exception {
738738
}
739739

740740
@Test
741-
@JavaVersionRule.Enforce(value = 8, j9 = false)
741+
@JavaVersionRule.Enforce(value = 8, atMost = 23, j9 = false)
742742
@AgentAttachmentRule.Enforce
743743
@IntegrationRule.Enforce
744744
public void testSerializableLambda() throws Exception {
@@ -770,7 +770,7 @@ public void testSerializableLambda() throws Exception {
770770
}
771771

772772
@Test
773-
@JavaVersionRule.Enforce(value = 8, j9 = false)
773+
@JavaVersionRule.Enforce(value = 8, atMost = 23, j9 = false)
774774
@AgentAttachmentRule.Enforce
775775
@IntegrationRule.Enforce
776776
public void testReturnTypeTransformingLambda() throws Exception {
@@ -793,7 +793,7 @@ public void testReturnTypeTransformingLambda() throws Exception {
793793
}
794794

795795
@Test
796-
@JavaVersionRule.Enforce(value = 8, j9 = false)
796+
@JavaVersionRule.Enforce(value = 8, atMost = 23, j9 = false)
797797
@AgentAttachmentRule.Enforce
798798
@IntegrationRule.Enforce
799799
public void testInstanceReturningLambda() throws Exception {

0 commit comments

Comments
 (0)