File: java21-codetools-7903646.patch

package info (click to toggle)
jtreg7 7.5.1%2B1%2Bds1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 51,224 kB
  • sloc: java: 409,123; xml: 8,266; sh: 1,966; ansic: 1,084; exp: 689; makefile: 387; javascript: 162; cpp: 120
file content (24 lines) | stat: -rw-r--r-- 970 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Disable tests failing due to SecurityManager changes in agentvm
 In agentvm mode, the agent JVM does not set security manager for Java 18 + and
 does not intercept System.exit() calls.
 This causes agentvm mode behave differently from othervm - tests failing with
 'Unexpected test exit' produce an 'Unexpected EOF' error or a SocketException
 error.
 Disable affected tests pending bug fix as it requires discussion with upstream
 on the best way to fix it.
Author: Vladimir Petko <vladimir.petko@canonical.com>
Bug: https://bugs.openjdk.org/browse/CODETOOLS-7903646
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057512
Forwarded: not-needed
Last-Update: 2024-01-26
--- a/test/basic/Basic.gmk
+++ b/test/basic/Basic.gmk
@@ -108,6 +108,6 @@
 	echo $@ passed at `date` > $@
 
 INITIAL_TESTS += \
-	$(BUILDTESTDIR)/Basic.othervm.ok \
-	$(BUILDTESTDIR)/Basic.agentvm.ok
+	$(BUILDTESTDIR)/Basic.othervm.ok
+#	$(BUILDTESTDIR)/Basic.agentvm.ok