archrelease: copy trunk to extra-x86_64
[arch-packages.git] / swig / trunk / jdk17.patch
blob0270c209dfb78e6c8a07be4b0f8defff3f82a80b
1 From 34e663a61af13eec62050d2b105ace418929e289 Mon Sep 17 00:00:00 2001
2 From: William S Fulton <wsf@fultondesigns.co.uk>
3 Date: Sat, 20 Mar 2021 09:49:30 +0000
4 Subject: [PATCH] Test a different C# keyword rename
6 Worked around warning in java jdk-15:
7 warning: 'sealed' may become a restricted type name in a future release
8 and may be unusable for type declarations or as the element type of an array
10 Adding sealed to the list of automatically renamed keywords in Java does
11 not seem prudent.
12 ---
13 Examples/test-suite/keyword_rename.i | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
16 diff --git a/Examples/test-suite/keyword_rename.i b/Examples/test-suite/keyword_rename.i
17 index 23c01087dc4..645f0266112 100644
18 --- a/Examples/test-suite/keyword_rename.i
19 +++ b/Examples/test-suite/keyword_rename.i
20 @@ -27,7 +27,7 @@ KW(synchronized, final)
22 /* C# Keywords */
23 KW(string, out)
24 -struct sealed {int i;};
25 +struct stackalloc {int i;};
27 /* Go Keywords */
28 KW(go, defer)