diff options
author | Steve Marion <steve.marion@sonarsource.com> | 2023-12-14 15:09:22 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-01-04 20:02:48 +0000 |
commit | aec0c95e903db2ab7fdc3dfc6e90421e6342a277 (patch) | |
tree | ea2899fc29f7b6d970061207661a09d1a0581834 /sonar-core/tester | |
parent | 7013e543f07fca1831fd1efee29997981b6ec19b (diff) | |
download | sonarqube-aec0c95e903db2ab7fdc3dfc6e90421e6342a277.tar.gz sonarqube-aec0c95e903db2ab7fdc3dfc6e90421e6342a277.zip |
SONAR-21195 allow plugins loaded in different containers to access classLoader resources. Integrate sonarsource-classeloader library into sonar-core source.
Diffstat (limited to 'sonar-core/tester')
-rw-r--r-- | sonar-core/tester/a.jar | bin | 0 -> 894 bytes | |||
-rw-r--r-- | sonar-core/tester/a/A.class | bin | 0 -> 226 bytes | |||
-rw-r--r-- | sonar-core/tester/a/A.java | 5 | ||||
-rw-r--r-- | sonar-core/tester/a/a.txt | 1 | ||||
-rw-r--r-- | sonar-core/tester/a_v2.jar | bin | 0 -> 892 bytes | |||
-rw-r--r-- | sonar-core/tester/a_v2/A.class | bin | 0 -> 226 bytes | |||
-rw-r--r-- | sonar-core/tester/a_v2/A.java | 6 | ||||
-rw-r--r-- | sonar-core/tester/a_v2/a.txt | 1 | ||||
-rw-r--r-- | sonar-core/tester/b.jar | bin | 0 -> 827 bytes | |||
-rw-r--r-- | sonar-core/tester/b/B.class | bin | 0 -> 176 bytes | |||
-rw-r--r-- | sonar-core/tester/b/B.java | 2 | ||||
-rw-r--r-- | sonar-core/tester/b/b.txt | 1 | ||||
-rw-r--r-- | sonar-core/tester/build.sh | 16 | ||||
-rw-r--r-- | sonar-core/tester/c.jar | bin | 0 -> 826 bytes | |||
-rw-r--r-- | sonar-core/tester/c/C.class | bin | 0 -> 176 bytes | |||
-rw-r--r-- | sonar-core/tester/c/C.java | 2 | ||||
-rw-r--r-- | sonar-core/tester/c/c.txt | 1 |
17 files changed, 35 insertions, 0 deletions
diff --git a/sonar-core/tester/a.jar b/sonar-core/tester/a.jar Binary files differnew file mode 100644 index 00000000000..b2919e07c0e --- /dev/null +++ b/sonar-core/tester/a.jar diff --git a/sonar-core/tester/a/A.class b/sonar-core/tester/a/A.class Binary files differnew file mode 100644 index 00000000000..1b88100eaad --- /dev/null +++ b/sonar-core/tester/a/A.class diff --git a/sonar-core/tester/a/A.java b/sonar-core/tester/a/A.java new file mode 100644 index 00000000000..a29a8ffbaa4 --- /dev/null +++ b/sonar-core/tester/a/A.java @@ -0,0 +1,5 @@ +public class A { + public void version1() { + + } +} diff --git a/sonar-core/tester/a/a.txt b/sonar-core/tester/a/a.txt new file mode 100644 index 00000000000..0fdd823d5ea --- /dev/null +++ b/sonar-core/tester/a/a.txt @@ -0,0 +1 @@ +version 1 of a.txt diff --git a/sonar-core/tester/a_v2.jar b/sonar-core/tester/a_v2.jar Binary files differnew file mode 100644 index 00000000000..1e0f89d1a76 --- /dev/null +++ b/sonar-core/tester/a_v2.jar diff --git a/sonar-core/tester/a_v2/A.class b/sonar-core/tester/a_v2/A.class Binary files differnew file mode 100644 index 00000000000..d9e11d70041 --- /dev/null +++ b/sonar-core/tester/a_v2/A.class diff --git a/sonar-core/tester/a_v2/A.java b/sonar-core/tester/a_v2/A.java new file mode 100644 index 00000000000..4f3a882de6d --- /dev/null +++ b/sonar-core/tester/a_v2/A.java @@ -0,0 +1,6 @@ +public class A { + + public void version2() { + + } +} diff --git a/sonar-core/tester/a_v2/a.txt b/sonar-core/tester/a_v2/a.txt new file mode 100644 index 00000000000..09b8dbbb2cc --- /dev/null +++ b/sonar-core/tester/a_v2/a.txt @@ -0,0 +1 @@ +version 2 of a.txt diff --git a/sonar-core/tester/b.jar b/sonar-core/tester/b.jar Binary files differnew file mode 100644 index 00000000000..80985fabd1f --- /dev/null +++ b/sonar-core/tester/b.jar diff --git a/sonar-core/tester/b/B.class b/sonar-core/tester/b/B.class Binary files differnew file mode 100644 index 00000000000..17df16a46bd --- /dev/null +++ b/sonar-core/tester/b/B.class diff --git a/sonar-core/tester/b/B.java b/sonar-core/tester/b/B.java new file mode 100644 index 00000000000..66dd24ce675 --- /dev/null +++ b/sonar-core/tester/b/B.java @@ -0,0 +1,2 @@ +public class B { +} diff --git a/sonar-core/tester/b/b.txt b/sonar-core/tester/b/b.txt new file mode 100644 index 00000000000..61780798228 --- /dev/null +++ b/sonar-core/tester/b/b.txt @@ -0,0 +1 @@ +b diff --git a/sonar-core/tester/build.sh b/sonar-core/tester/build.sh new file mode 100644 index 00000000000..823be7692b2 --- /dev/null +++ b/sonar-core/tester/build.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +rm *.jar + +javac a/*.java +jar cvf a.jar -C a/ . + +javac b/*.java +jar cvf b.jar -C b/ . + +javac c/*.java +jar cvf c.jar -C c/ . + +javac a_v2/*.java +jar cvf a_v2.jar -C a_v2 . + diff --git a/sonar-core/tester/c.jar b/sonar-core/tester/c.jar Binary files differnew file mode 100644 index 00000000000..76b546f5e94 --- /dev/null +++ b/sonar-core/tester/c.jar diff --git a/sonar-core/tester/c/C.class b/sonar-core/tester/c/C.class Binary files differnew file mode 100644 index 00000000000..a9c2f96622f --- /dev/null +++ b/sonar-core/tester/c/C.class diff --git a/sonar-core/tester/c/C.java b/sonar-core/tester/c/C.java new file mode 100644 index 00000000000..d4053967aab --- /dev/null +++ b/sonar-core/tester/c/C.java @@ -0,0 +1,2 @@ +public class C { +} diff --git a/sonar-core/tester/c/c.txt b/sonar-core/tester/c/c.txt new file mode 100644 index 00000000000..f2ad6c76f01 --- /dev/null +++ b/sonar-core/tester/c/c.txt @@ -0,0 +1 @@ +c |