Build Information
Successful build of java_swift, reference master (ebf330
), with Swift 6.1 for macOS (SPM) on 7 Jun 2025 09:42:32 UTC.
Swift 6 data race errors: 248
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
| |- note: add '@MainActor' to make static property 'put_MethodID_19' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
411 |
412 | open func put( arg0: JavaObject?, arg1: JavaObject? ) -> JavaObject! {
/Users/admin/builder/spi-builder-workspace/Sources/HashMap.swift:428:24: warning: static property 'putAll_MethodID_20' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
426 | /// public void java.util.HashMap.putAll(java.util.Map)
427 |
428 | private static var putAll_MethodID_20: jmethodID?
| |- warning: static property 'putAll_MethodID_20' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'putAll_MethodID_20' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'putAll_MethodID_20' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
429 |
430 | open func putAll( arg0: JavaMap? ) {
/Users/admin/builder/spi-builder-workspace/Sources/HashMap.swift:443:24: warning: static property 'putIfAbsent_MethodID_21' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
441 | /// public java.lang.Object java.util.HashMap.putIfAbsent(java.lang.Object,java.lang.Object)
442 |
443 | private static var putIfAbsent_MethodID_21: jmethodID?
| |- warning: static property 'putIfAbsent_MethodID_21' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'putIfAbsent_MethodID_21' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'putIfAbsent_MethodID_21' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
444 |
445 | open func putIfAbsent( arg0: JavaObject?, arg1: JavaObject? ) -> JavaObject! {
/Users/admin/builder/spi-builder-workspace/Sources/HashMap.swift:475:24: warning: static property 'remove_MethodID_22' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
473 | /// public java.lang.Object java.util.HashMap.remove(java.lang.Object)
474 |
475 | private static var remove_MethodID_22: jmethodID?
| |- warning: static property 'remove_MethodID_22' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'remove_MethodID_22' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'remove_MethodID_22' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
476 |
477 | open func remove( arg0: JavaObject? ) -> JavaObject! {
/Users/admin/builder/spi-builder-workspace/Sources/HashMap.swift:492:24: warning: static property 'remove_MethodID_23' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
490 | /// public boolean java.util.HashMap.remove(java.lang.Object,java.lang.Object)
491 |
492 | private static var remove_MethodID_23: jmethodID?
| |- warning: static property 'remove_MethodID_23' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'remove_MethodID_23' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'remove_MethodID_23' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
493 |
494 | open func remove( arg0: JavaObject?, arg1: JavaObject? ) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/HashMap.swift:513:24: warning: static property 'replace_MethodID_24' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
511 | /// public java.lang.Object java.util.HashMap.replace(java.lang.Object,java.lang.Object)
512 |
513 | private static var replace_MethodID_24: jmethodID?
| |- warning: static property 'replace_MethodID_24' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'replace_MethodID_24' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'replace_MethodID_24' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
514 |
515 | open func replace( arg0: JavaObject?, arg1: JavaObject? ) -> JavaObject! {
/Users/admin/builder/spi-builder-workspace/Sources/HashMap.swift:531:24: warning: static property 'replace_MethodID_25' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
529 | /// public boolean java.util.HashMap.replace(java.lang.Object,java.lang.Object,java.lang.Object)
530 |
531 | private static var replace_MethodID_25: jmethodID?
| |- warning: static property 'replace_MethodID_25' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'replace_MethodID_25' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'replace_MethodID_25' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
532 |
533 | open func replace( arg0: JavaObject?, arg1: JavaObject?, arg2: JavaObject? ) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/HashMap.swift:549:24: warning: static property 'replaceAll_MethodID_26' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
547 | /// public void java.util.HashMap.replaceAll(java.util.function.BiFunction)
548 |
549 | private static var replaceAll_MethodID_26: jmethodID?
| |- warning: static property 'replaceAll_MethodID_26' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'replaceAll_MethodID_26' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'replaceAll_MethodID_26' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
550 |
551 | open func replaceAll( arg0: /* interface java.util.function.BiFunction */ UnavailableProtocol? ) {
/Users/admin/builder/spi-builder-workspace/Sources/HashMap.swift:576:24: warning: static property 'size_MethodID_27' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
574 | /// public int java.util.HashMap.size()
575 |
576 | private static var size_MethodID_27: jmethodID?
| |- warning: static property 'size_MethodID_27' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'size_MethodID_27' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'size_MethodID_27' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
577 |
578 | open func size() -> Int {
/Users/admin/builder/spi-builder-workspace/Sources/HashMap.swift:592:24: warning: static property 'values_MethodID_28' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
590 | /// public java.util.Collection java.util.HashMap.values()
591 |
592 | private static var values_MethodID_28: jmethodID?
| |- warning: static property 'values_MethodID_28' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'values_MethodID_28' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'values_MethodID_28' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
593 |
594 | open func values() -> /* interface java.util.Collection */ UnavailableProtocol! {
/Users/admin/builder/spi-builder-workspace/Sources/HashMap.swift:609:24: warning: static property 'equals_MethodID_29' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
607 | /// public abstract boolean java.util.Map.equals(java.lang.Object)
608 |
609 | private static var equals_MethodID_29: jmethodID?
| |- warning: static property 'equals_MethodID_29' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'equals_MethodID_29' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'equals_MethodID_29' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
610 |
611 | override open func equals( arg0: JavaObject? ) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/HashMap.swift:625:24: warning: static property 'hashCode_MethodID_30' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
623 | /// public abstract int java.util.Map.hashCode()
624 |
625 | private static var hashCode_MethodID_30: jmethodID?
| |- warning: static property 'hashCode_MethodID_30' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hashCode_MethodID_30' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hashCode_MethodID_30' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
626 |
627 | override open func hashCode() -> Int {
/Users/admin/builder/spi-builder-workspace/Sources/HashMap.swift:6:12: warning: class 'HashMap' must restate inherited '@unchecked Sendable' conformance
4 | /// class java.util.HashMap ///
5 |
6 | open class HashMap: /* class java.util.AbstractMap */ UnavailableObject {
| `- warning: class 'HashMap' must restate inherited '@unchecked Sendable' conformance
7 |
8 | public convenience init?( casting object: JavaObject, _ file: StaticString = #file, _ line: Int = #line ) {
[17/20] Compiling java_swift JavaClass.swift
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:15:24: warning: static property 'JavaClassJNIClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | private static var JavaClassJNIClass: jclass?
| |- warning: static property 'JavaClassJNIClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'JavaClassJNIClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'JavaClassJNIClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// private static final int java.lang.Class.ANNOTATION
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:99:24: warning: static property 'forName_MethodID_1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
97 | /// public static java.lang.Class java.lang.Class.forName(java.lang.String) throws java.lang.ClassNotFoundException
98 |
99 | private static var forName_MethodID_1: jmethodID?
| |- warning: static property 'forName_MethodID_1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'forName_MethodID_1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'forName_MethodID_1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | open class func forName( arg0: String? ) throws /* java.lang.ClassNotFoundException */ -> JavaClass! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:120:24: warning: static property 'forName_MethodID_2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | /// public static java.lang.Class java.lang.Class.forName(java.lang.String,boolean,java.lang.ClassLoader) throws java.lang.ClassNotFoundException
119 |
120 | private static var forName_MethodID_2: jmethodID?
| |- warning: static property 'forName_MethodID_2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'forName_MethodID_2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'forName_MethodID_2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | open class func forName( arg0: String?, arg1: Bool, arg2: /* class java.lang.ClassLoader */ UnavailableObject? ) throws /* java.lang.ClassNotFoundException */ -> JavaClass! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:167:24: warning: static property 'asSubclass_MethodID_3' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
165 | /// public java.lang.Class java.lang.Class.asSubclass(java.lang.Class)
166 |
167 | private static var asSubclass_MethodID_3: jmethodID?
| |- warning: static property 'asSubclass_MethodID_3' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'asSubclass_MethodID_3' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'asSubclass_MethodID_3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 |
169 | open func asSubclass( arg0: JavaClass? ) -> JavaClass! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:190:24: warning: static property 'cast_MethodID_4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
188 | /// public java.lang.Object java.lang.Class.cast(java.lang.Object)
189 |
190 | private static var cast_MethodID_4: jmethodID?
| |- warning: static property 'cast_MethodID_4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cast_MethodID_4' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cast_MethodID_4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 |
192 | open func cast( arg0: JavaObject? ) -> JavaObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:213:24: warning: static property 'desiredAssertionStatus_MethodID_5' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
211 | /// public boolean java.lang.Class.desiredAssertionStatus()
212 |
213 | private static var desiredAssertionStatus_MethodID_5: jmethodID?
| |- warning: static property 'desiredAssertionStatus_MethodID_5' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'desiredAssertionStatus_MethodID_5' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'desiredAssertionStatus_MethodID_5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |
215 | open func desiredAssertionStatus() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:229:24: warning: static property 'getAnnotatedInterfaces_MethodID_6' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
227 | /// public java.lang.reflect.AnnotatedType[] java.lang.Class.getAnnotatedInterfaces()
228 |
229 | private static var getAnnotatedInterfaces_MethodID_6: jmethodID?
| |- warning: static property 'getAnnotatedInterfaces_MethodID_6' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getAnnotatedInterfaces_MethodID_6' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getAnnotatedInterfaces_MethodID_6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
230 |
231 | open func getAnnotatedInterfaces() -> [/* interface java.lang.reflect.AnnotatedType */ UnavailableProtocol]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:241:24: warning: static property 'getAnnotatedSuperclass_MethodID_7' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 | /// public java.lang.reflect.AnnotatedType java.lang.Class.getAnnotatedSuperclass()
240 |
241 | private static var getAnnotatedSuperclass_MethodID_7: jmethodID?
| |- warning: static property 'getAnnotatedSuperclass_MethodID_7' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getAnnotatedSuperclass_MethodID_7' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getAnnotatedSuperclass_MethodID_7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |
243 | open func getAnnotatedSuperclass() -> /* interface java.lang.reflect.AnnotatedType */ UnavailableProtocol! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:254:24: warning: static property 'getAnnotation_MethodID_8' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
252 | /// public java.lang.annotation.Annotation java.lang.Class.getAnnotation(java.lang.Class)
253 |
254 | private static var getAnnotation_MethodID_8: jmethodID?
| |- warning: static property 'getAnnotation_MethodID_8' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getAnnotation_MethodID_8' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getAnnotation_MethodID_8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 |
256 | open func getAnnotation( arg0: JavaClass? ) -> /* interface java.lang.annotation.Annotation */ UnavailableProtocol! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:275:24: warning: static property 'getAnnotations_MethodID_9' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
273 | /// public java.lang.annotation.Annotation[] java.lang.Class.getAnnotations()
274 |
275 | private static var getAnnotations_MethodID_9: jmethodID?
| |- warning: static property 'getAnnotations_MethodID_9' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getAnnotations_MethodID_9' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getAnnotations_MethodID_9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
276 |
277 | open func getAnnotations() -> [/* interface java.lang.annotation.Annotation */ UnavailableProtocol]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:287:24: warning: static property 'getAnnotationsByType_MethodID_10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
285 | /// public java.lang.annotation.Annotation[] java.lang.Class.getAnnotationsByType(java.lang.Class)
286 |
287 | private static var getAnnotationsByType_MethodID_10: jmethodID?
| |- warning: static property 'getAnnotationsByType_MethodID_10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getAnnotationsByType_MethodID_10' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getAnnotationsByType_MethodID_10' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
288 |
289 | open func getAnnotationsByType( arg0: JavaClass? ) -> [/* interface java.lang.annotation.Annotation */ UnavailableProtocol]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:303:24: warning: static property 'getCanonicalName_MethodID_11' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
301 | /// public java.lang.String java.lang.Class.getCanonicalName()
302 |
303 | private static var getCanonicalName_MethodID_11: jmethodID?
| |- warning: static property 'getCanonicalName_MethodID_11' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getCanonicalName_MethodID_11' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getCanonicalName_MethodID_11' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
304 |
305 | open func getCanonicalName() -> String! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:316:24: warning: static property 'getClassLoader_MethodID_12' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
314 | /// public java.lang.ClassLoader java.lang.Class.getClassLoader()
315 |
316 | private static var getClassLoader_MethodID_12: jmethodID?
| |- warning: static property 'getClassLoader_MethodID_12' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getClassLoader_MethodID_12' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getClassLoader_MethodID_12' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
317 |
318 | open func getClassLoader() -> /* class java.lang.ClassLoader */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:333:24: warning: static property 'getClasses_MethodID_13' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
331 | /// public java.lang.Class[] java.lang.Class.getClasses()
332 |
333 | private static var getClasses_MethodID_13: jmethodID?
| |- warning: static property 'getClasses_MethodID_13' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getClasses_MethodID_13' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getClasses_MethodID_13' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |
335 | open func getClasses() -> [JavaClass]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:345:24: warning: static property 'getComponentType_MethodID_14' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
343 | /// public native java.lang.Class java.lang.Class.getComponentType()
344 |
345 | private static var getComponentType_MethodID_14: jmethodID?
| |- warning: static property 'getComponentType_MethodID_14' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getComponentType_MethodID_14' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getComponentType_MethodID_14' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
346 |
347 | open func getComponentType() -> JavaClass! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:362:24: warning: static property 'getConstructor_MethodID_15' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
360 | /// public java.lang.reflect.Constructor java.lang.Class.getConstructor(java.lang.Class[]) throws java.lang.NoSuchMethodException,java.lang.SecurityException
361 |
362 | private static var getConstructor_MethodID_15: jmethodID?
| |- warning: static property 'getConstructor_MethodID_15' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getConstructor_MethodID_15' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getConstructor_MethodID_15' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
363 |
364 | open func getConstructor( arg0: [JavaClass]? ) throws /* java.lang.NoSuchMethodException, java.lang.SecurityException */ -> /* class java.lang.reflect.Constructor */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:385:24: warning: static property 'getConstructors_MethodID_16' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
383 | /// public java.lang.reflect.Constructor[] java.lang.Class.getConstructors() throws java.lang.SecurityException
384 |
385 | private static var getConstructors_MethodID_16: jmethodID?
| |- warning: static property 'getConstructors_MethodID_16' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getConstructors_MethodID_16' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getConstructors_MethodID_16' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
386 |
387 | open func getConstructors() throws /* java.lang.SecurityException */ -> [/* class java.lang.reflect.Constructor */ UnavailableObject]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:401:24: warning: static property 'getDeclaredAnnotation_MethodID_17' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
399 | /// public java.lang.annotation.Annotation java.lang.Class.getDeclaredAnnotation(java.lang.Class)
400 |
401 | private static var getDeclaredAnnotation_MethodID_17: jmethodID?
| |- warning: static property 'getDeclaredAnnotation_MethodID_17' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaredAnnotation_MethodID_17' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaredAnnotation_MethodID_17' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
402 |
403 | open func getDeclaredAnnotation( arg0: JavaClass? ) -> /* interface java.lang.annotation.Annotation */ UnavailableProtocol! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:422:24: warning: static property 'getDeclaredAnnotations_MethodID_18' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
420 | /// public java.lang.annotation.Annotation[] java.lang.Class.getDeclaredAnnotations()
421 |
422 | private static var getDeclaredAnnotations_MethodID_18: jmethodID?
| |- warning: static property 'getDeclaredAnnotations_MethodID_18' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaredAnnotations_MethodID_18' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaredAnnotations_MethodID_18' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
423 |
424 | open func getDeclaredAnnotations() -> [/* interface java.lang.annotation.Annotation */ UnavailableProtocol]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:434:24: warning: static property 'getDeclaredAnnotationsByType_MethodID_19' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
432 | /// public java.lang.annotation.Annotation[] java.lang.Class.getDeclaredAnnotationsByType(java.lang.Class)
433 |
434 | private static var getDeclaredAnnotationsByType_MethodID_19: jmethodID?
| |- warning: static property 'getDeclaredAnnotationsByType_MethodID_19' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaredAnnotationsByType_MethodID_19' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaredAnnotationsByType_MethodID_19' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
435 |
436 | open func getDeclaredAnnotationsByType( arg0: JavaClass? ) -> [/* interface java.lang.annotation.Annotation */ UnavailableProtocol]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:450:24: warning: static property 'getDeclaredClasses_MethodID_20' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
448 | /// public java.lang.Class[] java.lang.Class.getDeclaredClasses() throws java.lang.SecurityException
449 |
450 | private static var getDeclaredClasses_MethodID_20: jmethodID?
| |- warning: static property 'getDeclaredClasses_MethodID_20' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaredClasses_MethodID_20' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaredClasses_MethodID_20' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
451 |
452 | open func getDeclaredClasses() throws /* java.lang.SecurityException */ -> [JavaClass]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:468:24: warning: static property 'getDeclaredConstructor_MethodID_21' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
466 | /// public java.lang.reflect.Constructor java.lang.Class.getDeclaredConstructor(java.lang.Class[]) throws java.lang.NoSuchMethodException,java.lang.SecurityException
467 |
468 | private static var getDeclaredConstructor_MethodID_21: jmethodID?
| |- warning: static property 'getDeclaredConstructor_MethodID_21' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaredConstructor_MethodID_21' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaredConstructor_MethodID_21' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
469 |
470 | open func getDeclaredConstructor( arg0: [JavaClass]? ) throws /* java.lang.NoSuchMethodException, java.lang.SecurityException */ -> /* class java.lang.reflect.Constructor */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:489:24: warning: static property 'getDeclaredConstructors_MethodID_22' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
487 | /// public java.lang.reflect.Constructor[] java.lang.Class.getDeclaredConstructors() throws java.lang.SecurityException
488 |
489 | private static var getDeclaredConstructors_MethodID_22: jmethodID?
| |- warning: static property 'getDeclaredConstructors_MethodID_22' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaredConstructors_MethodID_22' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaredConstructors_MethodID_22' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
490 |
491 | open func getDeclaredConstructors() throws /* java.lang.SecurityException */ -> [/* class java.lang.reflect.Constructor */ UnavailableObject]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:507:24: warning: static property 'getDeclaredField_MethodID_23' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
505 | /// public java.lang.reflect.Field java.lang.Class.getDeclaredField(java.lang.String) throws java.lang.NoSuchFieldException,java.lang.SecurityException
506 |
507 | private static var getDeclaredField_MethodID_23: jmethodID?
| |- warning: static property 'getDeclaredField_MethodID_23' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaredField_MethodID_23' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaredField_MethodID_23' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
508 |
509 | open func getDeclaredField( arg0: String? ) throws /* java.lang.NoSuchFieldException, java.lang.SecurityException */ -> /* class java.lang.reflect.Field */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:528:24: warning: static property 'getDeclaredFields_MethodID_24' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
526 | /// public java.lang.reflect.Field[] java.lang.Class.getDeclaredFields() throws java.lang.SecurityException
527 |
528 | private static var getDeclaredFields_MethodID_24: jmethodID?
| |- warning: static property 'getDeclaredFields_MethodID_24' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaredFields_MethodID_24' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaredFields_MethodID_24' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
529 |
530 | open func getDeclaredFields() throws /* java.lang.SecurityException */ -> [/* class java.lang.reflect.Field */ UnavailableObject]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:546:24: warning: static property 'getDeclaredMethod_MethodID_25' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
544 | /// public java.lang.reflect.Method java.lang.Class.getDeclaredMethod(java.lang.String,java.lang.Class[]) throws java.lang.NoSuchMethodException,java.lang.SecurityException
545 |
546 | private static var getDeclaredMethod_MethodID_25: jmethodID?
| |- warning: static property 'getDeclaredMethod_MethodID_25' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaredMethod_MethodID_25' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaredMethod_MethodID_25' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
547 |
548 | open func getDeclaredMethod( arg0: String?, arg1: [JavaClass]? ) throws /* java.lang.NoSuchMethodException, java.lang.SecurityException */ -> /* class java.lang.reflect.Method */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:568:24: warning: static property 'getDeclaredMethods_MethodID_26' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
566 | /// public java.lang.reflect.Method[] java.lang.Class.getDeclaredMethods() throws java.lang.SecurityException
567 |
568 | private static var getDeclaredMethods_MethodID_26: jmethodID?
| |- warning: static property 'getDeclaredMethods_MethodID_26' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaredMethods_MethodID_26' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaredMethods_MethodID_26' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
569 |
570 | open func getDeclaredMethods() throws /* java.lang.SecurityException */ -> [/* class java.lang.reflect.Method */ UnavailableObject]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:586:24: warning: static property 'getDeclaringClass_MethodID_27' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
584 | /// public java.lang.Class java.lang.Class.getDeclaringClass() throws java.lang.SecurityException
585 |
586 | private static var getDeclaringClass_MethodID_27: jmethodID?
| |- warning: static property 'getDeclaringClass_MethodID_27' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaringClass_MethodID_27' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaringClass_MethodID_27' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
587 |
588 | open func getDeclaringClass() throws /* java.lang.SecurityException */ -> JavaClass! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:605:24: warning: static property 'getEnclosingClass_MethodID_28' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
603 | /// public java.lang.Class java.lang.Class.getEnclosingClass() throws java.lang.SecurityException
604 |
605 | private static var getEnclosingClass_MethodID_28: jmethodID?
| |- warning: static property 'getEnclosingClass_MethodID_28' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getEnclosingClass_MethodID_28' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getEnclosingClass_MethodID_28' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
606 |
607 | open func getEnclosingClass() throws /* java.lang.SecurityException */ -> JavaClass! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:622:24: warning: static property 'getEnclosingConstructor_MethodID_29' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
620 | /// public java.lang.reflect.Constructor java.lang.Class.getEnclosingConstructor() throws java.lang.SecurityException
621 |
622 | private static var getEnclosingConstructor_MethodID_29: jmethodID?
| |- warning: static property 'getEnclosingConstructor_MethodID_29' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getEnclosingConstructor_MethodID_29' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getEnclosingConstructor_MethodID_29' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
623 |
624 | open func getEnclosingConstructor() throws /* java.lang.SecurityException */ -> /* class java.lang.reflect.Constructor */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:639:24: warning: static property 'getEnclosingMethod_MethodID_30' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
637 | /// public java.lang.reflect.Method java.lang.Class.getEnclosingMethod() throws java.lang.SecurityException
638 |
639 | private static var getEnclosingMethod_MethodID_30: jmethodID?
| |- warning: static property 'getEnclosingMethod_MethodID_30' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getEnclosingMethod_MethodID_30' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getEnclosingMethod_MethodID_30' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
640 |
641 | open func getEnclosingMethod() throws /* java.lang.SecurityException */ -> /* class java.lang.reflect.Method */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:660:24: warning: static property 'getEnumConstants_MethodID_31' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
658 | /// public java.lang.Object[] java.lang.Class.getEnumConstants()
659 |
660 | private static var getEnumConstants_MethodID_31: jmethodID?
| |- warning: static property 'getEnumConstants_MethodID_31' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getEnumConstants_MethodID_31' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getEnumConstants_MethodID_31' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
661 |
662 | open func getEnumConstants() -> [JavaObject]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:678:24: warning: static property 'getField_MethodID_32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
676 | /// public java.lang.reflect.Field java.lang.Class.getField(java.lang.String) throws java.lang.NoSuchFieldException,java.lang.SecurityException
677 |
678 | private static var getField_MethodID_32: jmethodID?
| |- warning: static property 'getField_MethodID_32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getField_MethodID_32' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getField_MethodID_32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
679 |
680 | open func getField( arg0: String? ) throws /* java.lang.NoSuchFieldException, java.lang.SecurityException */ -> /* class java.lang.reflect.Field */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:701:24: warning: static property 'getFields_MethodID_33' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
699 | /// public java.lang.reflect.Field[] java.lang.Class.getFields() throws java.lang.SecurityException
700 |
701 | private static var getFields_MethodID_33: jmethodID?
| |- warning: static property 'getFields_MethodID_33' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getFields_MethodID_33' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getFields_MethodID_33' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
702 |
703 | open func getFields() throws /* java.lang.SecurityException */ -> [/* class java.lang.reflect.Field */ UnavailableObject]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:719:24: warning: static property 'getGenericInterfaces_MethodID_34' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
717 | /// public java.lang.reflect.Type[] java.lang.Class.getGenericInterfaces()
718 |
719 | private static var getGenericInterfaces_MethodID_34: jmethodID?
| |- warning: static property 'getGenericInterfaces_MethodID_34' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getGenericInterfaces_MethodID_34' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getGenericInterfaces_MethodID_34' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
720 |
721 | open func getGenericInterfaces() -> [/* interface java.lang.reflect.Type */ UnavailableProtocol]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:733:24: warning: static property 'getGenericSuperclass_MethodID_35' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
731 | /// public java.lang.reflect.Type java.lang.Class.getGenericSuperclass()
732 |
733 | private static var getGenericSuperclass_MethodID_35: jmethodID?
| |- warning: static property 'getGenericSuperclass_MethodID_35' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getGenericSuperclass_MethodID_35' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getGenericSuperclass_MethodID_35' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
734 |
735 | open func getGenericSuperclass() -> /* interface java.lang.reflect.Type */ UnavailableProtocol! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:746:24: warning: static property 'getInterfaces_MethodID_36' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
744 | /// public java.lang.Class[] java.lang.Class.getInterfaces()
745 |
746 | private static var getInterfaces_MethodID_36: jmethodID?
| |- warning: static property 'getInterfaces_MethodID_36' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getInterfaces_MethodID_36' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getInterfaces_MethodID_36' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
747 |
748 | open func getInterfaces() -> [JavaClass]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:760:24: warning: static property 'getMethod_MethodID_37' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
758 | /// public java.lang.reflect.Method java.lang.Class.getMethod(java.lang.String,java.lang.Class[]) throws java.lang.NoSuchMethodException,java.lang.SecurityException
759 |
760 | private static var getMethod_MethodID_37: jmethodID?
| |- warning: static property 'getMethod_MethodID_37' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getMethod_MethodID_37' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getMethod_MethodID_37' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
761 |
762 | open func getMethod( arg0: String?, arg1: [JavaClass]? ) throws /* java.lang.NoSuchMethodException, java.lang.SecurityException */ -> /* class java.lang.reflect.Method */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:784:24: warning: static property 'getMethods_MethodID_38' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
782 | /// public java.lang.reflect.Method[] java.lang.Class.getMethods() throws java.lang.SecurityException
783 |
784 | private static var getMethods_MethodID_38: jmethodID?
| |- warning: static property 'getMethods_MethodID_38' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getMethods_MethodID_38' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getMethods_MethodID_38' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
785 |
786 | open func getMethods() throws /* java.lang.SecurityException */ -> [/* class java.lang.reflect.Method */ UnavailableObject]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:800:24: warning: static property 'getModifiers_MethodID_39' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
798 | /// public native int java.lang.Class.getModifiers()
799 |
800 | private static var getModifiers_MethodID_39: jmethodID?
| |- warning: static property 'getModifiers_MethodID_39' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getModifiers_MethodID_39' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getModifiers_MethodID_39' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
801 |
802 | open func getModifiers() -> Int {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:812:24: warning: static property 'getName_MethodID_40' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
810 | /// public java.lang.String java.lang.Class.getName()
811 |
812 | private static var getName_MethodID_40: jmethodID?
| |- warning: static property 'getName_MethodID_40' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getName_MethodID_40' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getName_MethodID_40' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
813 |
814 | open func getName() -> String! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:827:24: warning: static property 'getPackage_MethodID_41' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
825 | /// public java.lang.Package java.lang.Class.getPackage()
826 |
827 | private static var getPackage_MethodID_41: jmethodID?
| |- warning: static property 'getPackage_MethodID_41' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getPackage_MethodID_41' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getPackage_MethodID_41' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
828 |
829 | open func getPackage() -> /* class java.lang.Package */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:840:24: warning: static property 'getProtectionDomain_MethodID_42' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
838 | /// public java.security.ProtectionDomain java.lang.Class.getProtectionDomain()
839 |
840 | private static var getProtectionDomain_MethodID_42: jmethodID?
| |- warning: static property 'getProtectionDomain_MethodID_42' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getProtectionDomain_MethodID_42' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getProtectionDomain_MethodID_42' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
841 |
842 | open func getProtectionDomain() -> /* class java.security.ProtectionDomain */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:863:24: warning: static property 'getResource_MethodID_43' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
861 | /// public java.net.URL java.lang.Class.getResource(java.lang.String)
862 |
863 | private static var getResource_MethodID_43: jmethodID?
| |- warning: static property 'getResource_MethodID_43' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getResource_MethodID_43' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getResource_MethodID_43' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
864 |
865 | open func getResource( arg0: String? ) -> /* class java.net.URL */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:880:24: warning: static property 'getResourceAsStream_MethodID_44' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
878 | /// public java.io.InputStream java.lang.Class.getResourceAsStream(java.lang.String)
879 |
880 | private static var getResourceAsStream_MethodID_44: jmethodID?
| |- warning: static property 'getResourceAsStream_MethodID_44' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getResourceAsStream_MethodID_44' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getResourceAsStream_MethodID_44' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
881 |
882 | open func getResourceAsStream( arg0: String? ) -> /* class java.io.InputStream */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:897:24: warning: static property 'getSigners_MethodID_45' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
895 | /// public native java.lang.Object[] java.lang.Class.getSigners()
896 |
897 | private static var getSigners_MethodID_45: jmethodID?
| |- warning: static property 'getSigners_MethodID_45' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getSigners_MethodID_45' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getSigners_MethodID_45' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
898 |
899 | open func getSigners() -> [JavaObject]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:911:24: warning: static property 'getSimpleName_MethodID_46' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
909 | /// public java.lang.String java.lang.Class.getSimpleName()
910 |
911 | private static var getSimpleName_MethodID_46: jmethodID?
| |- warning: static property 'getSimpleName_MethodID_46' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getSimpleName_MethodID_46' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getSimpleName_MethodID_46' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
912 |
913 | open func getSimpleName() -> String! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:924:24: warning: static property 'getSuperclass_MethodID_47' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
922 | /// public native java.lang.Class java.lang.Class.getSuperclass()
923 |
924 | private static var getSuperclass_MethodID_47: jmethodID?
| |- warning: static property 'getSuperclass_MethodID_47' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getSuperclass_MethodID_47' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getSuperclass_MethodID_47' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
925 |
926 | open func getSuperclass() -> JavaClass! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:937:24: warning: static property 'getTypeName_MethodID_48' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
935 | /// public java.lang.String java.lang.Class.getTypeName()
936 |
937 | private static var getTypeName_MethodID_48: jmethodID?
| |- warning: static property 'getTypeName_MethodID_48' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getTypeName_MethodID_48' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getTypeName_MethodID_48' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
938 |
939 | open func getTypeName() -> String! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:950:24: warning: static property 'getTypeParameters_MethodID_49' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
948 | /// public java.lang.reflect.TypeVariable[] java.lang.Class.getTypeParameters()
949 |
950 | private static var getTypeParameters_MethodID_49: jmethodID?
| |- warning: static property 'getTypeParameters_MethodID_49' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getTypeParameters_MethodID_49' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getTypeParameters_MethodID_49' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
951 |
952 | open func getTypeParameters() -> [/* interface java.lang.reflect.TypeVariable */ UnavailableProtocol]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:962:24: warning: static property 'isAnnotation_MethodID_50' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
960 | /// public boolean java.lang.Class.isAnnotation()
961 |
962 | private static var isAnnotation_MethodID_50: jmethodID?
| |- warning: static property 'isAnnotation_MethodID_50' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isAnnotation_MethodID_50' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isAnnotation_MethodID_50' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
963 |
964 | open func isAnnotation() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:974:24: warning: static property 'isAnnotationPresent_MethodID_51' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
972 | /// public boolean java.lang.Class.isAnnotationPresent(java.lang.Class)
973 |
974 | private static var isAnnotationPresent_MethodID_51: jmethodID?
| |- warning: static property 'isAnnotationPresent_MethodID_51' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isAnnotationPresent_MethodID_51' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isAnnotationPresent_MethodID_51' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
975 |
976 | open func isAnnotationPresent( arg0: JavaClass? ) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:990:24: warning: static property 'isAnonymousClass_MethodID_52' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
988 | /// public boolean java.lang.Class.isAnonymousClass()
989 |
990 | private static var isAnonymousClass_MethodID_52: jmethodID?
| |- warning: static property 'isAnonymousClass_MethodID_52' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isAnonymousClass_MethodID_52' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isAnonymousClass_MethodID_52' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
991 |
992 | open func isAnonymousClass() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1002:24: warning: static property 'isArray_MethodID_53' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1000 | /// public native boolean java.lang.Class.isArray()
1001 |
1002 | private static var isArray_MethodID_53: jmethodID?
| |- warning: static property 'isArray_MethodID_53' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isArray_MethodID_53' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isArray_MethodID_53' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1003 |
1004 | open func isArray() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1014:24: warning: static property 'isAssignableFrom_MethodID_54' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1012 | /// public native boolean java.lang.Class.isAssignableFrom(java.lang.Class)
1013 |
1014 | private static var isAssignableFrom_MethodID_54: jmethodID?
| |- warning: static property 'isAssignableFrom_MethodID_54' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isAssignableFrom_MethodID_54' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isAssignableFrom_MethodID_54' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1015 |
1016 | open func isAssignableFrom( arg0: JavaClass? ) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1030:24: warning: static property 'isEnum_MethodID_55' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1028 | /// public boolean java.lang.Class.isEnum()
1029 |
1030 | private static var isEnum_MethodID_55: jmethodID?
| |- warning: static property 'isEnum_MethodID_55' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isEnum_MethodID_55' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isEnum_MethodID_55' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1031 |
1032 | open func isEnum() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1042:24: warning: static property 'isInstance_MethodID_56' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1040 | /// public native boolean java.lang.Class.isInstance(java.lang.Object)
1041 |
1042 | private static var isInstance_MethodID_56: jmethodID?
| |- warning: static property 'isInstance_MethodID_56' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isInstance_MethodID_56' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isInstance_MethodID_56' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1043 |
1044 | open func isInstance( arg0: JavaObject? ) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1058:24: warning: static property 'isInterface_MethodID_57' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1056 | /// public native boolean java.lang.Class.isInterface()
1057 |
1058 | private static var isInterface_MethodID_57: jmethodID?
| |- warning: static property 'isInterface_MethodID_57' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isInterface_MethodID_57' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isInterface_MethodID_57' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1059 |
1060 | open func isInterface() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1070:24: warning: static property 'isLocalClass_MethodID_58' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1068 | /// public boolean java.lang.Class.isLocalClass()
1069 |
1070 | private static var isLocalClass_MethodID_58: jmethodID?
| |- warning: static property 'isLocalClass_MethodID_58' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isLocalClass_MethodID_58' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isLocalClass_MethodID_58' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1071 |
1072 | open func isLocalClass() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1084:24: warning: static property 'isMemberClass_MethodID_59' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1082 | /// public boolean java.lang.Class.isMemberClass()
1083 |
1084 | private static var isMemberClass_MethodID_59: jmethodID?
| |- warning: static property 'isMemberClass_MethodID_59' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isMemberClass_MethodID_59' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isMemberClass_MethodID_59' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1085 |
1086 | open func isMemberClass() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1096:24: warning: static property 'isPrimitive_MethodID_60' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1094 | /// public native boolean java.lang.Class.isPrimitive()
1095 |
1096 | private static var isPrimitive_MethodID_60: jmethodID?
| |- warning: static property 'isPrimitive_MethodID_60' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isPrimitive_MethodID_60' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isPrimitive_MethodID_60' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1097 |
1098 | open func isPrimitive() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1108:24: warning: static property 'isSynthetic_MethodID_61' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1106 | /// public boolean java.lang.Class.isSynthetic()
1107 |
1108 | private static var isSynthetic_MethodID_61: jmethodID?
| |- warning: static property 'isSynthetic_MethodID_61' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isSynthetic_MethodID_61' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isSynthetic_MethodID_61' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1109 |
1110 | open func isSynthetic() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1120:24: warning: static property 'newInstance_MethodID_62' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1118 | /// public java.lang.Object java.lang.Class.newInstance() throws java.lang.InstantiationException,java.lang.IllegalAccessException
1119 |
1120 | private static var newInstance_MethodID_62: jmethodID?
| |- warning: static property 'newInstance_MethodID_62' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'newInstance_MethodID_62' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'newInstance_MethodID_62' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1121 |
1122 | open func newInstance() throws /* java.lang.InstantiationException, java.lang.IllegalAccessException */ -> JavaObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1159:24: warning: static property 'toGenericString_MethodID_63' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1157 | /// public java.lang.String java.lang.Class.toGenericString()
1158 |
1159 | private static var toGenericString_MethodID_63: jmethodID?
| |- warning: static property 'toGenericString_MethodID_63' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'toGenericString_MethodID_63' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'toGenericString_MethodID_63' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1160 |
1161 | open func toGenericString() -> String! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:6:12: warning: class 'JavaClass' must restate inherited '@unchecked Sendable' conformance
4 | /// class java.lang.Class ///
5 |
6 | open class JavaClass: JavaObject, /* interface java.io.Serializable */ UnavailableProtocol {
| `- warning: class 'JavaClass' must restate inherited '@unchecked Sendable' conformance
7 |
8 | public convenience init?( casting object: JavaObject, _ file: StaticString = #file, _ line: Int = #line ) {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:15:24: warning: static property 'JavaEnumJNIClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | private static var JavaEnumJNIClass: jclass?
| |- warning: static property 'JavaEnumJNIClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'JavaEnumJNIClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'JavaEnumJNIClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// private final java.lang.String java.lang.Enum.name
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:23:24: warning: static property 'new_MethodID_1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | /// protected java.lang.Enum(java.lang.String,int)
22 |
23 | private static var new_MethodID_1: jmethodID?
| |- warning: static property 'new_MethodID_1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'new_MethodID_1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'new_MethodID_1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public convenience init( name: String?, ordinal: Int ) {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:41:24: warning: static property 'valueOf_MethodID_2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | /// public static java.lang.Enum java.lang.Enum.valueOf(java.lang.Class,java.lang.String)
40 |
41 | private static var valueOf_MethodID_2: jmethodID?
| |- warning: static property 'valueOf_MethodID_2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'valueOf_MethodID_2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'valueOf_MethodID_2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | open class func valueOf( enumType: JavaClass?, name: String? ) -> JavaEnum! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:59:24: warning: static property 'clone_MethodID_3' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | /// protected final java.lang.Object java.lang.Enum.clone() throws java.lang.CloneNotSupportedException
58 |
59 | private static var clone_MethodID_3: jmethodID?
| |- warning: static property 'clone_MethodID_3' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'clone_MethodID_3' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'clone_MethodID_3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | override open func clone() throws /* java.lang.CloneNotSupportedException */ -> JavaObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:76:24: warning: static property 'compareTo_MethodID_4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | /// public final int java.lang.Enum.compareTo(java.lang.Enum)
75 |
76 | private static var compareTo_MethodID_4: jmethodID?
| |- warning: static property 'compareTo_MethodID_4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'compareTo_MethodID_4' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'compareTo_MethodID_4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 |
78 | open func compareTo( o: JavaEnum? ) -> Int {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:92:24: warning: static property 'compareTo_MethodID_5' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
90 | /// public int java.lang.Enum.compareTo(java.lang.Object)
91 |
92 | private static var compareTo_MethodID_5: jmethodID?
| |- warning: static property 'compareTo_MethodID_5' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'compareTo_MethodID_5' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'compareTo_MethodID_5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | open func compareTo( arg0: JavaObject? ) -> Int {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:108:24: warning: static property 'equals_MethodID_6' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 | /// public final boolean java.lang.Enum.equals(java.lang.Object)
107 |
108 | private static var equals_MethodID_6: jmethodID?
| |- warning: static property 'equals_MethodID_6' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'equals_MethodID_6' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'equals_MethodID_6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 | open func equals( other: JavaObject? ) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:124:24: warning: static property 'finalize_MethodID_7' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 | /// protected final void java.lang.Enum.finalize()
123 |
124 | private static var finalize_MethodID_7: jmethodID?
| |- warning: static property 'finalize_MethodID_7' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'finalize_MethodID_7' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'finalize_MethodID_7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |
126 | override open func finalize() {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:135:24: warning: static property 'getDeclaringClass_MethodID_8' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
133 | /// public final java.lang.Class java.lang.Enum.getDeclaringClass()
134 |
135 | private static var getDeclaringClass_MethodID_8: jmethodID?
| |- warning: static property 'getDeclaringClass_MethodID_8' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaringClass_MethodID_8' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaringClass_MethodID_8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 |
137 | open func getDeclaringClass() -> JavaClass! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:152:24: warning: static property 'name_MethodID_9' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
150 | /// public final java.lang.String java.lang.Enum.name()
151 |
152 | private static var name_MethodID_9: jmethodID?
| |- warning: static property 'name_MethodID_9' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'name_MethodID_9' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'name_MethodID_9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 | open func name() -> String! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:165:24: warning: static property 'ordinal_MethodID_10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
163 | /// public final int java.lang.Enum.ordinal()
164 |
165 | private static var ordinal_MethodID_10: jmethodID?
| |- warning: static property 'ordinal_MethodID_10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ordinal_MethodID_10' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ordinal_MethodID_10' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |
167 | open func ordinal() -> Int {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:6:12: warning: class 'JavaEnum' must restate inherited '@unchecked Sendable' conformance
4 | /// class java.lang.Enum ///
5 |
6 | open class JavaEnum: JavaObject, /* interface java.lang.Comparable */ UnavailableProtocol {
| `- warning: class 'JavaEnum' must restate inherited '@unchecked Sendable' conformance
7 |
8 | public convenience init?( casting object: JavaObject, _ file: StaticString = #file, _ line: Int = #line ) {
[18/20] Compiling java_swift JavaEnum.swift
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:15:24: warning: static property 'JavaClassJNIClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | private static var JavaClassJNIClass: jclass?
| |- warning: static property 'JavaClassJNIClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'JavaClassJNIClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'JavaClassJNIClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// private static final int java.lang.Class.ANNOTATION
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:99:24: warning: static property 'forName_MethodID_1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
97 | /// public static java.lang.Class java.lang.Class.forName(java.lang.String) throws java.lang.ClassNotFoundException
98 |
99 | private static var forName_MethodID_1: jmethodID?
| |- warning: static property 'forName_MethodID_1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'forName_MethodID_1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'forName_MethodID_1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | open class func forName( arg0: String? ) throws /* java.lang.ClassNotFoundException */ -> JavaClass! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:120:24: warning: static property 'forName_MethodID_2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
118 | /// public static java.lang.Class java.lang.Class.forName(java.lang.String,boolean,java.lang.ClassLoader) throws java.lang.ClassNotFoundException
119 |
120 | private static var forName_MethodID_2: jmethodID?
| |- warning: static property 'forName_MethodID_2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'forName_MethodID_2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'forName_MethodID_2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | open class func forName( arg0: String?, arg1: Bool, arg2: /* class java.lang.ClassLoader */ UnavailableObject? ) throws /* java.lang.ClassNotFoundException */ -> JavaClass! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:167:24: warning: static property 'asSubclass_MethodID_3' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
165 | /// public java.lang.Class java.lang.Class.asSubclass(java.lang.Class)
166 |
167 | private static var asSubclass_MethodID_3: jmethodID?
| |- warning: static property 'asSubclass_MethodID_3' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'asSubclass_MethodID_3' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'asSubclass_MethodID_3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 |
169 | open func asSubclass( arg0: JavaClass? ) -> JavaClass! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:190:24: warning: static property 'cast_MethodID_4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
188 | /// public java.lang.Object java.lang.Class.cast(java.lang.Object)
189 |
190 | private static var cast_MethodID_4: jmethodID?
| |- warning: static property 'cast_MethodID_4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cast_MethodID_4' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'cast_MethodID_4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 |
192 | open func cast( arg0: JavaObject? ) -> JavaObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:213:24: warning: static property 'desiredAssertionStatus_MethodID_5' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
211 | /// public boolean java.lang.Class.desiredAssertionStatus()
212 |
213 | private static var desiredAssertionStatus_MethodID_5: jmethodID?
| |- warning: static property 'desiredAssertionStatus_MethodID_5' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'desiredAssertionStatus_MethodID_5' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'desiredAssertionStatus_MethodID_5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |
215 | open func desiredAssertionStatus() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:229:24: warning: static property 'getAnnotatedInterfaces_MethodID_6' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
227 | /// public java.lang.reflect.AnnotatedType[] java.lang.Class.getAnnotatedInterfaces()
228 |
229 | private static var getAnnotatedInterfaces_MethodID_6: jmethodID?
| |- warning: static property 'getAnnotatedInterfaces_MethodID_6' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getAnnotatedInterfaces_MethodID_6' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getAnnotatedInterfaces_MethodID_6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
230 |
231 | open func getAnnotatedInterfaces() -> [/* interface java.lang.reflect.AnnotatedType */ UnavailableProtocol]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:241:24: warning: static property 'getAnnotatedSuperclass_MethodID_7' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 | /// public java.lang.reflect.AnnotatedType java.lang.Class.getAnnotatedSuperclass()
240 |
241 | private static var getAnnotatedSuperclass_MethodID_7: jmethodID?
| |- warning: static property 'getAnnotatedSuperclass_MethodID_7' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getAnnotatedSuperclass_MethodID_7' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getAnnotatedSuperclass_MethodID_7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 |
243 | open func getAnnotatedSuperclass() -> /* interface java.lang.reflect.AnnotatedType */ UnavailableProtocol! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:254:24: warning: static property 'getAnnotation_MethodID_8' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
252 | /// public java.lang.annotation.Annotation java.lang.Class.getAnnotation(java.lang.Class)
253 |
254 | private static var getAnnotation_MethodID_8: jmethodID?
| |- warning: static property 'getAnnotation_MethodID_8' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getAnnotation_MethodID_8' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getAnnotation_MethodID_8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 |
256 | open func getAnnotation( arg0: JavaClass? ) -> /* interface java.lang.annotation.Annotation */ UnavailableProtocol! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:275:24: warning: static property 'getAnnotations_MethodID_9' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
273 | /// public java.lang.annotation.Annotation[] java.lang.Class.getAnnotations()
274 |
275 | private static var getAnnotations_MethodID_9: jmethodID?
| |- warning: static property 'getAnnotations_MethodID_9' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getAnnotations_MethodID_9' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getAnnotations_MethodID_9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
276 |
277 | open func getAnnotations() -> [/* interface java.lang.annotation.Annotation */ UnavailableProtocol]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:287:24: warning: static property 'getAnnotationsByType_MethodID_10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
285 | /// public java.lang.annotation.Annotation[] java.lang.Class.getAnnotationsByType(java.lang.Class)
286 |
287 | private static var getAnnotationsByType_MethodID_10: jmethodID?
| |- warning: static property 'getAnnotationsByType_MethodID_10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getAnnotationsByType_MethodID_10' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getAnnotationsByType_MethodID_10' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
288 |
289 | open func getAnnotationsByType( arg0: JavaClass? ) -> [/* interface java.lang.annotation.Annotation */ UnavailableProtocol]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:303:24: warning: static property 'getCanonicalName_MethodID_11' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
301 | /// public java.lang.String java.lang.Class.getCanonicalName()
302 |
303 | private static var getCanonicalName_MethodID_11: jmethodID?
| |- warning: static property 'getCanonicalName_MethodID_11' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getCanonicalName_MethodID_11' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getCanonicalName_MethodID_11' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
304 |
305 | open func getCanonicalName() -> String! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:316:24: warning: static property 'getClassLoader_MethodID_12' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
314 | /// public java.lang.ClassLoader java.lang.Class.getClassLoader()
315 |
316 | private static var getClassLoader_MethodID_12: jmethodID?
| |- warning: static property 'getClassLoader_MethodID_12' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getClassLoader_MethodID_12' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getClassLoader_MethodID_12' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
317 |
318 | open func getClassLoader() -> /* class java.lang.ClassLoader */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:333:24: warning: static property 'getClasses_MethodID_13' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
331 | /// public java.lang.Class[] java.lang.Class.getClasses()
332 |
333 | private static var getClasses_MethodID_13: jmethodID?
| |- warning: static property 'getClasses_MethodID_13' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getClasses_MethodID_13' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getClasses_MethodID_13' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |
335 | open func getClasses() -> [JavaClass]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:345:24: warning: static property 'getComponentType_MethodID_14' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
343 | /// public native java.lang.Class java.lang.Class.getComponentType()
344 |
345 | private static var getComponentType_MethodID_14: jmethodID?
| |- warning: static property 'getComponentType_MethodID_14' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getComponentType_MethodID_14' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getComponentType_MethodID_14' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
346 |
347 | open func getComponentType() -> JavaClass! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:362:24: warning: static property 'getConstructor_MethodID_15' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
360 | /// public java.lang.reflect.Constructor java.lang.Class.getConstructor(java.lang.Class[]) throws java.lang.NoSuchMethodException,java.lang.SecurityException
361 |
362 | private static var getConstructor_MethodID_15: jmethodID?
| |- warning: static property 'getConstructor_MethodID_15' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getConstructor_MethodID_15' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getConstructor_MethodID_15' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
363 |
364 | open func getConstructor( arg0: [JavaClass]? ) throws /* java.lang.NoSuchMethodException, java.lang.SecurityException */ -> /* class java.lang.reflect.Constructor */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:385:24: warning: static property 'getConstructors_MethodID_16' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
383 | /// public java.lang.reflect.Constructor[] java.lang.Class.getConstructors() throws java.lang.SecurityException
384 |
385 | private static var getConstructors_MethodID_16: jmethodID?
| |- warning: static property 'getConstructors_MethodID_16' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getConstructors_MethodID_16' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getConstructors_MethodID_16' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
386 |
387 | open func getConstructors() throws /* java.lang.SecurityException */ -> [/* class java.lang.reflect.Constructor */ UnavailableObject]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:401:24: warning: static property 'getDeclaredAnnotation_MethodID_17' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
399 | /// public java.lang.annotation.Annotation java.lang.Class.getDeclaredAnnotation(java.lang.Class)
400 |
401 | private static var getDeclaredAnnotation_MethodID_17: jmethodID?
| |- warning: static property 'getDeclaredAnnotation_MethodID_17' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaredAnnotation_MethodID_17' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaredAnnotation_MethodID_17' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
402 |
403 | open func getDeclaredAnnotation( arg0: JavaClass? ) -> /* interface java.lang.annotation.Annotation */ UnavailableProtocol! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:422:24: warning: static property 'getDeclaredAnnotations_MethodID_18' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
420 | /// public java.lang.annotation.Annotation[] java.lang.Class.getDeclaredAnnotations()
421 |
422 | private static var getDeclaredAnnotations_MethodID_18: jmethodID?
| |- warning: static property 'getDeclaredAnnotations_MethodID_18' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaredAnnotations_MethodID_18' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaredAnnotations_MethodID_18' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
423 |
424 | open func getDeclaredAnnotations() -> [/* interface java.lang.annotation.Annotation */ UnavailableProtocol]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:434:24: warning: static property 'getDeclaredAnnotationsByType_MethodID_19' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
432 | /// public java.lang.annotation.Annotation[] java.lang.Class.getDeclaredAnnotationsByType(java.lang.Class)
433 |
434 | private static var getDeclaredAnnotationsByType_MethodID_19: jmethodID?
| |- warning: static property 'getDeclaredAnnotationsByType_MethodID_19' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaredAnnotationsByType_MethodID_19' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaredAnnotationsByType_MethodID_19' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
435 |
436 | open func getDeclaredAnnotationsByType( arg0: JavaClass? ) -> [/* interface java.lang.annotation.Annotation */ UnavailableProtocol]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:450:24: warning: static property 'getDeclaredClasses_MethodID_20' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
448 | /// public java.lang.Class[] java.lang.Class.getDeclaredClasses() throws java.lang.SecurityException
449 |
450 | private static var getDeclaredClasses_MethodID_20: jmethodID?
| |- warning: static property 'getDeclaredClasses_MethodID_20' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaredClasses_MethodID_20' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaredClasses_MethodID_20' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
451 |
452 | open func getDeclaredClasses() throws /* java.lang.SecurityException */ -> [JavaClass]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:468:24: warning: static property 'getDeclaredConstructor_MethodID_21' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
466 | /// public java.lang.reflect.Constructor java.lang.Class.getDeclaredConstructor(java.lang.Class[]) throws java.lang.NoSuchMethodException,java.lang.SecurityException
467 |
468 | private static var getDeclaredConstructor_MethodID_21: jmethodID?
| |- warning: static property 'getDeclaredConstructor_MethodID_21' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaredConstructor_MethodID_21' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaredConstructor_MethodID_21' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
469 |
470 | open func getDeclaredConstructor( arg0: [JavaClass]? ) throws /* java.lang.NoSuchMethodException, java.lang.SecurityException */ -> /* class java.lang.reflect.Constructor */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:489:24: warning: static property 'getDeclaredConstructors_MethodID_22' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
487 | /// public java.lang.reflect.Constructor[] java.lang.Class.getDeclaredConstructors() throws java.lang.SecurityException
488 |
489 | private static var getDeclaredConstructors_MethodID_22: jmethodID?
| |- warning: static property 'getDeclaredConstructors_MethodID_22' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaredConstructors_MethodID_22' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaredConstructors_MethodID_22' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
490 |
491 | open func getDeclaredConstructors() throws /* java.lang.SecurityException */ -> [/* class java.lang.reflect.Constructor */ UnavailableObject]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:507:24: warning: static property 'getDeclaredField_MethodID_23' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
505 | /// public java.lang.reflect.Field java.lang.Class.getDeclaredField(java.lang.String) throws java.lang.NoSuchFieldException,java.lang.SecurityException
506 |
507 | private static var getDeclaredField_MethodID_23: jmethodID?
| |- warning: static property 'getDeclaredField_MethodID_23' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaredField_MethodID_23' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaredField_MethodID_23' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
508 |
509 | open func getDeclaredField( arg0: String? ) throws /* java.lang.NoSuchFieldException, java.lang.SecurityException */ -> /* class java.lang.reflect.Field */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:528:24: warning: static property 'getDeclaredFields_MethodID_24' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
526 | /// public java.lang.reflect.Field[] java.lang.Class.getDeclaredFields() throws java.lang.SecurityException
527 |
528 | private static var getDeclaredFields_MethodID_24: jmethodID?
| |- warning: static property 'getDeclaredFields_MethodID_24' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaredFields_MethodID_24' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaredFields_MethodID_24' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
529 |
530 | open func getDeclaredFields() throws /* java.lang.SecurityException */ -> [/* class java.lang.reflect.Field */ UnavailableObject]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:546:24: warning: static property 'getDeclaredMethod_MethodID_25' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
544 | /// public java.lang.reflect.Method java.lang.Class.getDeclaredMethod(java.lang.String,java.lang.Class[]) throws java.lang.NoSuchMethodException,java.lang.SecurityException
545 |
546 | private static var getDeclaredMethod_MethodID_25: jmethodID?
| |- warning: static property 'getDeclaredMethod_MethodID_25' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaredMethod_MethodID_25' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaredMethod_MethodID_25' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
547 |
548 | open func getDeclaredMethod( arg0: String?, arg1: [JavaClass]? ) throws /* java.lang.NoSuchMethodException, java.lang.SecurityException */ -> /* class java.lang.reflect.Method */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:568:24: warning: static property 'getDeclaredMethods_MethodID_26' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
566 | /// public java.lang.reflect.Method[] java.lang.Class.getDeclaredMethods() throws java.lang.SecurityException
567 |
568 | private static var getDeclaredMethods_MethodID_26: jmethodID?
| |- warning: static property 'getDeclaredMethods_MethodID_26' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaredMethods_MethodID_26' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaredMethods_MethodID_26' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
569 |
570 | open func getDeclaredMethods() throws /* java.lang.SecurityException */ -> [/* class java.lang.reflect.Method */ UnavailableObject]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:586:24: warning: static property 'getDeclaringClass_MethodID_27' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
584 | /// public java.lang.Class java.lang.Class.getDeclaringClass() throws java.lang.SecurityException
585 |
586 | private static var getDeclaringClass_MethodID_27: jmethodID?
| |- warning: static property 'getDeclaringClass_MethodID_27' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaringClass_MethodID_27' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaringClass_MethodID_27' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
587 |
588 | open func getDeclaringClass() throws /* java.lang.SecurityException */ -> JavaClass! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:605:24: warning: static property 'getEnclosingClass_MethodID_28' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
603 | /// public java.lang.Class java.lang.Class.getEnclosingClass() throws java.lang.SecurityException
604 |
605 | private static var getEnclosingClass_MethodID_28: jmethodID?
| |- warning: static property 'getEnclosingClass_MethodID_28' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getEnclosingClass_MethodID_28' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getEnclosingClass_MethodID_28' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
606 |
607 | open func getEnclosingClass() throws /* java.lang.SecurityException */ -> JavaClass! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:622:24: warning: static property 'getEnclosingConstructor_MethodID_29' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
620 | /// public java.lang.reflect.Constructor java.lang.Class.getEnclosingConstructor() throws java.lang.SecurityException
621 |
622 | private static var getEnclosingConstructor_MethodID_29: jmethodID?
| |- warning: static property 'getEnclosingConstructor_MethodID_29' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getEnclosingConstructor_MethodID_29' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getEnclosingConstructor_MethodID_29' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
623 |
624 | open func getEnclosingConstructor() throws /* java.lang.SecurityException */ -> /* class java.lang.reflect.Constructor */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:639:24: warning: static property 'getEnclosingMethod_MethodID_30' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
637 | /// public java.lang.reflect.Method java.lang.Class.getEnclosingMethod() throws java.lang.SecurityException
638 |
639 | private static var getEnclosingMethod_MethodID_30: jmethodID?
| |- warning: static property 'getEnclosingMethod_MethodID_30' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getEnclosingMethod_MethodID_30' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getEnclosingMethod_MethodID_30' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
640 |
641 | open func getEnclosingMethod() throws /* java.lang.SecurityException */ -> /* class java.lang.reflect.Method */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:660:24: warning: static property 'getEnumConstants_MethodID_31' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
658 | /// public java.lang.Object[] java.lang.Class.getEnumConstants()
659 |
660 | private static var getEnumConstants_MethodID_31: jmethodID?
| |- warning: static property 'getEnumConstants_MethodID_31' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getEnumConstants_MethodID_31' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getEnumConstants_MethodID_31' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
661 |
662 | open func getEnumConstants() -> [JavaObject]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:678:24: warning: static property 'getField_MethodID_32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
676 | /// public java.lang.reflect.Field java.lang.Class.getField(java.lang.String) throws java.lang.NoSuchFieldException,java.lang.SecurityException
677 |
678 | private static var getField_MethodID_32: jmethodID?
| |- warning: static property 'getField_MethodID_32' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getField_MethodID_32' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getField_MethodID_32' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
679 |
680 | open func getField( arg0: String? ) throws /* java.lang.NoSuchFieldException, java.lang.SecurityException */ -> /* class java.lang.reflect.Field */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:701:24: warning: static property 'getFields_MethodID_33' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
699 | /// public java.lang.reflect.Field[] java.lang.Class.getFields() throws java.lang.SecurityException
700 |
701 | private static var getFields_MethodID_33: jmethodID?
| |- warning: static property 'getFields_MethodID_33' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getFields_MethodID_33' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getFields_MethodID_33' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
702 |
703 | open func getFields() throws /* java.lang.SecurityException */ -> [/* class java.lang.reflect.Field */ UnavailableObject]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:719:24: warning: static property 'getGenericInterfaces_MethodID_34' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
717 | /// public java.lang.reflect.Type[] java.lang.Class.getGenericInterfaces()
718 |
719 | private static var getGenericInterfaces_MethodID_34: jmethodID?
| |- warning: static property 'getGenericInterfaces_MethodID_34' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getGenericInterfaces_MethodID_34' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getGenericInterfaces_MethodID_34' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
720 |
721 | open func getGenericInterfaces() -> [/* interface java.lang.reflect.Type */ UnavailableProtocol]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:733:24: warning: static property 'getGenericSuperclass_MethodID_35' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
731 | /// public java.lang.reflect.Type java.lang.Class.getGenericSuperclass()
732 |
733 | private static var getGenericSuperclass_MethodID_35: jmethodID?
| |- warning: static property 'getGenericSuperclass_MethodID_35' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getGenericSuperclass_MethodID_35' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getGenericSuperclass_MethodID_35' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
734 |
735 | open func getGenericSuperclass() -> /* interface java.lang.reflect.Type */ UnavailableProtocol! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:746:24: warning: static property 'getInterfaces_MethodID_36' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
744 | /// public java.lang.Class[] java.lang.Class.getInterfaces()
745 |
746 | private static var getInterfaces_MethodID_36: jmethodID?
| |- warning: static property 'getInterfaces_MethodID_36' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getInterfaces_MethodID_36' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getInterfaces_MethodID_36' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
747 |
748 | open func getInterfaces() -> [JavaClass]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:760:24: warning: static property 'getMethod_MethodID_37' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
758 | /// public java.lang.reflect.Method java.lang.Class.getMethod(java.lang.String,java.lang.Class[]) throws java.lang.NoSuchMethodException,java.lang.SecurityException
759 |
760 | private static var getMethod_MethodID_37: jmethodID?
| |- warning: static property 'getMethod_MethodID_37' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getMethod_MethodID_37' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getMethod_MethodID_37' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
761 |
762 | open func getMethod( arg0: String?, arg1: [JavaClass]? ) throws /* java.lang.NoSuchMethodException, java.lang.SecurityException */ -> /* class java.lang.reflect.Method */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:784:24: warning: static property 'getMethods_MethodID_38' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
782 | /// public java.lang.reflect.Method[] java.lang.Class.getMethods() throws java.lang.SecurityException
783 |
784 | private static var getMethods_MethodID_38: jmethodID?
| |- warning: static property 'getMethods_MethodID_38' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getMethods_MethodID_38' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getMethods_MethodID_38' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
785 |
786 | open func getMethods() throws /* java.lang.SecurityException */ -> [/* class java.lang.reflect.Method */ UnavailableObject]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:800:24: warning: static property 'getModifiers_MethodID_39' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
798 | /// public native int java.lang.Class.getModifiers()
799 |
800 | private static var getModifiers_MethodID_39: jmethodID?
| |- warning: static property 'getModifiers_MethodID_39' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getModifiers_MethodID_39' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getModifiers_MethodID_39' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
801 |
802 | open func getModifiers() -> Int {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:812:24: warning: static property 'getName_MethodID_40' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
810 | /// public java.lang.String java.lang.Class.getName()
811 |
812 | private static var getName_MethodID_40: jmethodID?
| |- warning: static property 'getName_MethodID_40' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getName_MethodID_40' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getName_MethodID_40' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
813 |
814 | open func getName() -> String! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:827:24: warning: static property 'getPackage_MethodID_41' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
825 | /// public java.lang.Package java.lang.Class.getPackage()
826 |
827 | private static var getPackage_MethodID_41: jmethodID?
| |- warning: static property 'getPackage_MethodID_41' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getPackage_MethodID_41' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getPackage_MethodID_41' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
828 |
829 | open func getPackage() -> /* class java.lang.Package */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:840:24: warning: static property 'getProtectionDomain_MethodID_42' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
838 | /// public java.security.ProtectionDomain java.lang.Class.getProtectionDomain()
839 |
840 | private static var getProtectionDomain_MethodID_42: jmethodID?
| |- warning: static property 'getProtectionDomain_MethodID_42' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getProtectionDomain_MethodID_42' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getProtectionDomain_MethodID_42' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
841 |
842 | open func getProtectionDomain() -> /* class java.security.ProtectionDomain */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:863:24: warning: static property 'getResource_MethodID_43' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
861 | /// public java.net.URL java.lang.Class.getResource(java.lang.String)
862 |
863 | private static var getResource_MethodID_43: jmethodID?
| |- warning: static property 'getResource_MethodID_43' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getResource_MethodID_43' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getResource_MethodID_43' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
864 |
865 | open func getResource( arg0: String? ) -> /* class java.net.URL */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:880:24: warning: static property 'getResourceAsStream_MethodID_44' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
878 | /// public java.io.InputStream java.lang.Class.getResourceAsStream(java.lang.String)
879 |
880 | private static var getResourceAsStream_MethodID_44: jmethodID?
| |- warning: static property 'getResourceAsStream_MethodID_44' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getResourceAsStream_MethodID_44' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getResourceAsStream_MethodID_44' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
881 |
882 | open func getResourceAsStream( arg0: String? ) -> /* class java.io.InputStream */ UnavailableObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:897:24: warning: static property 'getSigners_MethodID_45' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
895 | /// public native java.lang.Object[] java.lang.Class.getSigners()
896 |
897 | private static var getSigners_MethodID_45: jmethodID?
| |- warning: static property 'getSigners_MethodID_45' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getSigners_MethodID_45' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getSigners_MethodID_45' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
898 |
899 | open func getSigners() -> [JavaObject]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:911:24: warning: static property 'getSimpleName_MethodID_46' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
909 | /// public java.lang.String java.lang.Class.getSimpleName()
910 |
911 | private static var getSimpleName_MethodID_46: jmethodID?
| |- warning: static property 'getSimpleName_MethodID_46' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getSimpleName_MethodID_46' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getSimpleName_MethodID_46' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
912 |
913 | open func getSimpleName() -> String! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:924:24: warning: static property 'getSuperclass_MethodID_47' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
922 | /// public native java.lang.Class java.lang.Class.getSuperclass()
923 |
924 | private static var getSuperclass_MethodID_47: jmethodID?
| |- warning: static property 'getSuperclass_MethodID_47' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getSuperclass_MethodID_47' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getSuperclass_MethodID_47' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
925 |
926 | open func getSuperclass() -> JavaClass! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:937:24: warning: static property 'getTypeName_MethodID_48' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
935 | /// public java.lang.String java.lang.Class.getTypeName()
936 |
937 | private static var getTypeName_MethodID_48: jmethodID?
| |- warning: static property 'getTypeName_MethodID_48' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getTypeName_MethodID_48' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getTypeName_MethodID_48' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
938 |
939 | open func getTypeName() -> String! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:950:24: warning: static property 'getTypeParameters_MethodID_49' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
948 | /// public java.lang.reflect.TypeVariable[] java.lang.Class.getTypeParameters()
949 |
950 | private static var getTypeParameters_MethodID_49: jmethodID?
| |- warning: static property 'getTypeParameters_MethodID_49' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getTypeParameters_MethodID_49' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getTypeParameters_MethodID_49' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
951 |
952 | open func getTypeParameters() -> [/* interface java.lang.reflect.TypeVariable */ UnavailableProtocol]! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:962:24: warning: static property 'isAnnotation_MethodID_50' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
960 | /// public boolean java.lang.Class.isAnnotation()
961 |
962 | private static var isAnnotation_MethodID_50: jmethodID?
| |- warning: static property 'isAnnotation_MethodID_50' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isAnnotation_MethodID_50' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isAnnotation_MethodID_50' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
963 |
964 | open func isAnnotation() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:974:24: warning: static property 'isAnnotationPresent_MethodID_51' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
972 | /// public boolean java.lang.Class.isAnnotationPresent(java.lang.Class)
973 |
974 | private static var isAnnotationPresent_MethodID_51: jmethodID?
| |- warning: static property 'isAnnotationPresent_MethodID_51' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isAnnotationPresent_MethodID_51' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isAnnotationPresent_MethodID_51' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
975 |
976 | open func isAnnotationPresent( arg0: JavaClass? ) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:990:24: warning: static property 'isAnonymousClass_MethodID_52' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
988 | /// public boolean java.lang.Class.isAnonymousClass()
989 |
990 | private static var isAnonymousClass_MethodID_52: jmethodID?
| |- warning: static property 'isAnonymousClass_MethodID_52' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isAnonymousClass_MethodID_52' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isAnonymousClass_MethodID_52' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
991 |
992 | open func isAnonymousClass() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1002:24: warning: static property 'isArray_MethodID_53' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1000 | /// public native boolean java.lang.Class.isArray()
1001 |
1002 | private static var isArray_MethodID_53: jmethodID?
| |- warning: static property 'isArray_MethodID_53' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isArray_MethodID_53' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isArray_MethodID_53' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1003 |
1004 | open func isArray() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1014:24: warning: static property 'isAssignableFrom_MethodID_54' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1012 | /// public native boolean java.lang.Class.isAssignableFrom(java.lang.Class)
1013 |
1014 | private static var isAssignableFrom_MethodID_54: jmethodID?
| |- warning: static property 'isAssignableFrom_MethodID_54' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isAssignableFrom_MethodID_54' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isAssignableFrom_MethodID_54' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1015 |
1016 | open func isAssignableFrom( arg0: JavaClass? ) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1030:24: warning: static property 'isEnum_MethodID_55' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1028 | /// public boolean java.lang.Class.isEnum()
1029 |
1030 | private static var isEnum_MethodID_55: jmethodID?
| |- warning: static property 'isEnum_MethodID_55' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isEnum_MethodID_55' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isEnum_MethodID_55' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1031 |
1032 | open func isEnum() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1042:24: warning: static property 'isInstance_MethodID_56' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1040 | /// public native boolean java.lang.Class.isInstance(java.lang.Object)
1041 |
1042 | private static var isInstance_MethodID_56: jmethodID?
| |- warning: static property 'isInstance_MethodID_56' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isInstance_MethodID_56' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isInstance_MethodID_56' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1043 |
1044 | open func isInstance( arg0: JavaObject? ) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1058:24: warning: static property 'isInterface_MethodID_57' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1056 | /// public native boolean java.lang.Class.isInterface()
1057 |
1058 | private static var isInterface_MethodID_57: jmethodID?
| |- warning: static property 'isInterface_MethodID_57' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isInterface_MethodID_57' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isInterface_MethodID_57' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1059 |
1060 | open func isInterface() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1070:24: warning: static property 'isLocalClass_MethodID_58' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1068 | /// public boolean java.lang.Class.isLocalClass()
1069 |
1070 | private static var isLocalClass_MethodID_58: jmethodID?
| |- warning: static property 'isLocalClass_MethodID_58' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isLocalClass_MethodID_58' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isLocalClass_MethodID_58' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1071 |
1072 | open func isLocalClass() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1084:24: warning: static property 'isMemberClass_MethodID_59' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1082 | /// public boolean java.lang.Class.isMemberClass()
1083 |
1084 | private static var isMemberClass_MethodID_59: jmethodID?
| |- warning: static property 'isMemberClass_MethodID_59' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isMemberClass_MethodID_59' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isMemberClass_MethodID_59' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1085 |
1086 | open func isMemberClass() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1096:24: warning: static property 'isPrimitive_MethodID_60' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1094 | /// public native boolean java.lang.Class.isPrimitive()
1095 |
1096 | private static var isPrimitive_MethodID_60: jmethodID?
| |- warning: static property 'isPrimitive_MethodID_60' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isPrimitive_MethodID_60' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isPrimitive_MethodID_60' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1097 |
1098 | open func isPrimitive() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1108:24: warning: static property 'isSynthetic_MethodID_61' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1106 | /// public boolean java.lang.Class.isSynthetic()
1107 |
1108 | private static var isSynthetic_MethodID_61: jmethodID?
| |- warning: static property 'isSynthetic_MethodID_61' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isSynthetic_MethodID_61' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isSynthetic_MethodID_61' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1109 |
1110 | open func isSynthetic() -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1120:24: warning: static property 'newInstance_MethodID_62' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1118 | /// public java.lang.Object java.lang.Class.newInstance() throws java.lang.InstantiationException,java.lang.IllegalAccessException
1119 |
1120 | private static var newInstance_MethodID_62: jmethodID?
| |- warning: static property 'newInstance_MethodID_62' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'newInstance_MethodID_62' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'newInstance_MethodID_62' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1121 |
1122 | open func newInstance() throws /* java.lang.InstantiationException, java.lang.IllegalAccessException */ -> JavaObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:1159:24: warning: static property 'toGenericString_MethodID_63' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1157 | /// public java.lang.String java.lang.Class.toGenericString()
1158 |
1159 | private static var toGenericString_MethodID_63: jmethodID?
| |- warning: static property 'toGenericString_MethodID_63' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'toGenericString_MethodID_63' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'toGenericString_MethodID_63' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1160 |
1161 | open func toGenericString() -> String! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaClass.swift:6:12: warning: class 'JavaClass' must restate inherited '@unchecked Sendable' conformance
4 | /// class java.lang.Class ///
5 |
6 | open class JavaClass: JavaObject, /* interface java.io.Serializable */ UnavailableProtocol {
| `- warning: class 'JavaClass' must restate inherited '@unchecked Sendable' conformance
7 |
8 | public convenience init?( casting object: JavaObject, _ file: StaticString = #file, _ line: Int = #line ) {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:15:24: warning: static property 'JavaEnumJNIClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | }
14 |
15 | private static var JavaEnumJNIClass: jclass?
| |- warning: static property 'JavaEnumJNIClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'JavaEnumJNIClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'JavaEnumJNIClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | /// private final java.lang.String java.lang.Enum.name
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:23:24: warning: static property 'new_MethodID_1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | /// protected java.lang.Enum(java.lang.String,int)
22 |
23 | private static var new_MethodID_1: jmethodID?
| |- warning: static property 'new_MethodID_1' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'new_MethodID_1' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'new_MethodID_1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | public convenience init( name: String?, ordinal: Int ) {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:41:24: warning: static property 'valueOf_MethodID_2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | /// public static java.lang.Enum java.lang.Enum.valueOf(java.lang.Class,java.lang.String)
40 |
41 | private static var valueOf_MethodID_2: jmethodID?
| |- warning: static property 'valueOf_MethodID_2' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'valueOf_MethodID_2' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'valueOf_MethodID_2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | open class func valueOf( enumType: JavaClass?, name: String? ) -> JavaEnum! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:59:24: warning: static property 'clone_MethodID_3' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
57 | /// protected final java.lang.Object java.lang.Enum.clone() throws java.lang.CloneNotSupportedException
58 |
59 | private static var clone_MethodID_3: jmethodID?
| |- warning: static property 'clone_MethodID_3' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'clone_MethodID_3' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'clone_MethodID_3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | override open func clone() throws /* java.lang.CloneNotSupportedException */ -> JavaObject! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:76:24: warning: static property 'compareTo_MethodID_4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
74 | /// public final int java.lang.Enum.compareTo(java.lang.Enum)
75 |
76 | private static var compareTo_MethodID_4: jmethodID?
| |- warning: static property 'compareTo_MethodID_4' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'compareTo_MethodID_4' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'compareTo_MethodID_4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 |
78 | open func compareTo( o: JavaEnum? ) -> Int {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:92:24: warning: static property 'compareTo_MethodID_5' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
90 | /// public int java.lang.Enum.compareTo(java.lang.Object)
91 |
92 | private static var compareTo_MethodID_5: jmethodID?
| |- warning: static property 'compareTo_MethodID_5' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'compareTo_MethodID_5' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'compareTo_MethodID_5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | open func compareTo( arg0: JavaObject? ) -> Int {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:108:24: warning: static property 'equals_MethodID_6' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
106 | /// public final boolean java.lang.Enum.equals(java.lang.Object)
107 |
108 | private static var equals_MethodID_6: jmethodID?
| |- warning: static property 'equals_MethodID_6' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'equals_MethodID_6' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'equals_MethodID_6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 | open func equals( other: JavaObject? ) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:124:24: warning: static property 'finalize_MethodID_7' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
122 | /// protected final void java.lang.Enum.finalize()
123 |
124 | private static var finalize_MethodID_7: jmethodID?
| |- warning: static property 'finalize_MethodID_7' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'finalize_MethodID_7' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'finalize_MethodID_7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |
126 | override open func finalize() {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:135:24: warning: static property 'getDeclaringClass_MethodID_8' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
133 | /// public final java.lang.Class java.lang.Enum.getDeclaringClass()
134 |
135 | private static var getDeclaringClass_MethodID_8: jmethodID?
| |- warning: static property 'getDeclaringClass_MethodID_8' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'getDeclaringClass_MethodID_8' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'getDeclaringClass_MethodID_8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 |
137 | open func getDeclaringClass() -> JavaClass! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:152:24: warning: static property 'name_MethodID_9' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
150 | /// public final java.lang.String java.lang.Enum.name()
151 |
152 | private static var name_MethodID_9: jmethodID?
| |- warning: static property 'name_MethodID_9' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'name_MethodID_9' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'name_MethodID_9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 |
154 | open func name() -> String! {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:165:24: warning: static property 'ordinal_MethodID_10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
163 | /// public final int java.lang.Enum.ordinal()
164 |
165 | private static var ordinal_MethodID_10: jmethodID?
| |- warning: static property 'ordinal_MethodID_10' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ordinal_MethodID_10' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'ordinal_MethodID_10' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |
167 | open func ordinal() -> Int {
/Users/admin/builder/spi-builder-workspace/Sources/JavaEnum.swift:6:12: warning: class 'JavaEnum' must restate inherited '@unchecked Sendable' conformance
4 | /// class java.lang.Enum ///
5 |
6 | open class JavaEnum: JavaObject, /* interface java.lang.Comparable */ UnavailableProtocol {
| `- warning: class 'JavaEnum' must restate inherited '@unchecked Sendable' conformance
7 |
8 | public convenience init?( casting object: JavaObject, _ file: StaticString = #file, _ line: Int = #line ) {
[19/20] Compiling java_swift JNICore.swift
/Users/admin/builder/spi-builder-workspace/Sources/JNICore.swift:78:12: warning: let 'JNI' is not concurrency-safe because non-'Sendable' type 'JNICore' may have shared mutable state; this is an error in the Swift 6 language mode
76 | }
77 |
78 | public let JNI = JNICore()
| |- warning: let 'JNI' is not concurrency-safe because non-'Sendable' type 'JNICore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'JNI' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | fileprivate var jniEnvKey = pthread_key_t()
80 | fileprivate var jniFatalMessage = pthread_key_t()
81 |
82 | open class JNICore {
| `- note: class 'JNICore' does not conform to the 'Sendable' protocol
83 |
84 | open var jvm: UnsafeMutablePointer<JavaVM?>?
/Users/admin/builder/spi-builder-workspace/Sources/JNICore.swift:79:17: warning: var 'jniEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 |
78 | public let JNI = JNICore()
79 | fileprivate var jniEnvKey = pthread_key_t()
| |- warning: var 'jniEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'jniEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'jniEnvKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | fileprivate var jniFatalMessage = pthread_key_t()
81 |
/Users/admin/builder/spi-builder-workspace/Sources/JNICore.swift:80:17: warning: var 'jniFatalMessage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
78 | public let JNI = JNICore()
79 | fileprivate var jniEnvKey = pthread_key_t()
80 | fileprivate var jniFatalMessage = pthread_key_t()
| |- warning: var 'jniFatalMessage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'jniFatalMessage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'jniFatalMessage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 |
82 | open class JNICore {
/Users/admin/builder/spi-builder-workspace/Sources/JNICore.swift:90:16: warning: static property 'envVarKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | open var threadKey: pthread_t { return pthread_self() }
89 |
90 | static var envVarKey: pthread_key_t = {
| |- warning: static property 'envVarKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'envVarKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'envVarKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | var envVarKey: pthread_key_t = 0
92 | if pthread_key_create( &envVarKey, { _ in
/Users/admin/builder/spi-builder-workspace/Sources/JNICore.swift:291:24: warning: static property 'java_lang_ObjectClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
289 | }
290 |
291 | private static var java_lang_ObjectClass: jclass?
| |- warning: static property 'java_lang_ObjectClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'java_lang_ObjectClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'java_lang_ObjectClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
292 |
293 | open func NewObjectArray( _ count: Int, _ array: [jobject?]?, _ locals: UnsafeMutablePointer<[jobject]>, _ file: StaticString = #file, _ line: Int = #line ) -> jobjectArray? {
/Users/admin/builder/spi-builder-workspace/Sources/JNICore.swift:227:13: warning: capture of 'closure' with non-sendable type '() -> ()' in a '@Sendable' closure
225 | autoInit()
226 | DispatchQueue.global(qos: .default).async {
227 | closure()
| |- warning: capture of 'closure' with non-sendable type '() -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
228 | }
229 | }
[20/20] Compiling java_swift JNIField.swift
/Users/admin/builder/spi-builder-workspace/Sources/JNICore.swift:78:12: warning: let 'JNI' is not concurrency-safe because non-'Sendable' type 'JNICore' may have shared mutable state; this is an error in the Swift 6 language mode
76 | }
77 |
78 | public let JNI = JNICore()
| |- warning: let 'JNI' is not concurrency-safe because non-'Sendable' type 'JNICore' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'JNI' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | fileprivate var jniEnvKey = pthread_key_t()
80 | fileprivate var jniFatalMessage = pthread_key_t()
81 |
82 | open class JNICore {
| `- note: class 'JNICore' does not conform to the 'Sendable' protocol
83 |
84 | open var jvm: UnsafeMutablePointer<JavaVM?>?
/Users/admin/builder/spi-builder-workspace/Sources/JNICore.swift:79:17: warning: var 'jniEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 |
78 | public let JNI = JNICore()
79 | fileprivate var jniEnvKey = pthread_key_t()
| |- warning: var 'jniEnvKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'jniEnvKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'jniEnvKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | fileprivate var jniFatalMessage = pthread_key_t()
81 |
/Users/admin/builder/spi-builder-workspace/Sources/JNICore.swift:80:17: warning: var 'jniFatalMessage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
78 | public let JNI = JNICore()
79 | fileprivate var jniEnvKey = pthread_key_t()
80 | fileprivate var jniFatalMessage = pthread_key_t()
| |- warning: var 'jniFatalMessage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'jniFatalMessage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'jniFatalMessage' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 |
82 | open class JNICore {
/Users/admin/builder/spi-builder-workspace/Sources/JNICore.swift:90:16: warning: static property 'envVarKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 | open var threadKey: pthread_t { return pthread_self() }
89 |
90 | static var envVarKey: pthread_key_t = {
| |- warning: static property 'envVarKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'envVarKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'envVarKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | var envVarKey: pthread_key_t = 0
92 | if pthread_key_create( &envVarKey, { _ in
/Users/admin/builder/spi-builder-workspace/Sources/JNICore.swift:291:24: warning: static property 'java_lang_ObjectClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
289 | }
290 |
291 | private static var java_lang_ObjectClass: jclass?
| |- warning: static property 'java_lang_ObjectClass' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'java_lang_ObjectClass' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'java_lang_ObjectClass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
292 |
293 | open func NewObjectArray( _ count: Int, _ array: [jobject?]?, _ locals: UnsafeMutablePointer<[jobject]>, _ file: StaticString = #file, _ line: Int = #line ) -> jobjectArray? {
/Users/admin/builder/spi-builder-workspace/Sources/JNICore.swift:227:13: warning: capture of 'closure' with non-sendable type '() -> ()' in a '@Sendable' closure
225 | autoInit()
226 | DispatchQueue.global(qos: .default).async {
227 | closure()
| |- warning: capture of 'closure' with non-sendable type '() -> ()' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
228 | }
229 | }
Build complete! (4.44s)
Build complete.
{
"dependencies" : [
{
"identity" : "cjavavm",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/PureSwift/CJavaVM.git"
}
],
"manifest_display_name" : "java_swift",
"name" : "java_swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "java_swift",
"targets" : [
"java_swift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "java_swift",
"module_type" : "SwiftTarget",
"name" : "java_swift",
"path" : "Sources",
"product_dependencies" : [
"CJavaVM"
],
"product_memberships" : [
"java_swift"
],
"sources" : [
"Exception.swift",
"HashMap.swift",
"JNICore.swift",
"JNIField.swift",
"JNIMethod.swift",
"JNIObject.swift",
"JNIProxy.swift",
"JNIType.swift",
"JavaClass.swift",
"JavaEnum.swift",
"JavaMap.swift",
"JavaObject.swift",
"JavaSet.swift",
"JavaThread.swift",
"Runnable.swift",
"Throwable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.