Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 80 for unnamed1 (0.16 sec)

  1. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/JdkIllegalReflectionTestWorkerIntegrationTest.groovy

            expect:
            fails "test"
            def results = new DefaultTestExecutionResult(file("."))
            results.assertTestClassesExecuted("example.MainTest")
            results.testClass("example.MainTest").assertTestFailed("runTest", containsString('module java.base does not open java.lang to unnamed module'))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/eclipse/EclipseScopeAttributeIntegrationTest.groovy

                                    con.entryAttributes['add-exports'] = [
                                        'java.base/jdk.internal.access=ALL-UNNAMED',
                                        'java.base/jdk.internal.loader=ALL-UNNAMED'
                                    ]
                                }
                            }
                        }
                    }
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 10 13:19:47 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  3. src/internal/types/testdata/fixedbugs/issue60933.go

    	g(io.Writer(nil), io /* ERROR "does not match" */ .ReadWriter(nil))
    }
    
    // Named and unnamed interface types match if they have the same methods.
    func _() {
    	g(io.Writer(nil), writer)
    	g(io.ReadWriter(nil), writer /* ERROR "does not match" */ )
    }
    
    // There must be no order dependency for named and unnamed interfaces.
    func f[T interface{ m(T) }](a, b T) {}
    
    type F interface {
    	m(F)
    }
    
    func _() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 26 18:33:36 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractBasicGroovyCompilerIntegrationSpec/useConfigurationScript/build.gradle

    apply plugin: "groovy"
    
    repositories {
        mavenCentral()
    }
    
    compileGroovy {
        if (JavaVersion.current().isJava9Compatible()) {
            groovyOptions.forkOptions.jvmArgs += ['--add-opens', 'java.base/jdk.internal.loader=ALL-UNNAMED']
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 330 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/tutorial/groovyScope/groovy/build.gradle

        mainClass = 'scope'
        classpath = sourceSets.main.runtimeClasspath
        if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_1_9)) {
            jvmArgs = ['--add-opens', 'java.base/java.lang=ALL-UNNAMED']
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 345 bytes
    - Viewed (0)
  6. test/fixedbugs/issue52535.go

    // compile
    
    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // gofrontend crashed converting unnamed bool type to any.
    
    package p
    
    func F() {
    	m := make(map[int]int)
    	var ok any
    	_, ok = m[0]
    	_ = ok
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 06 17:37:12 UTC 2022
    - 314 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/tutorial/groovyScope/kotlin/build.gradle.kts

            classpath = sourceSets.main.get().runtimeClasspath
            if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_1_9)) {
                jvmArgs = listOf("--add-opens", "java.base/java.lang=ALL-UNNAMED")
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 385 bytes
    - Viewed (0)
  8. test/fixedbugs/issue5910.go

    // compiledir
    
    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 5910: parsing of unnamed struct types
    // in inlined bodies was broken.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 05 20:09:53 UTC 2013
    - 272 bytes
    - Viewed (0)
  9. test/fixedbugs/issue16616.go

    // compiledir
    
    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Tests that unexported fields of unnamed types have different PkgPath values.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 26 11:46:15 UTC 2016
    - 272 bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskOutputsTest.groovy

        }
    
        def "can register unnamed output files"() {
            when:
            outputs.files("a", "b")
            then:
            outputs.files.files == files('a', "b")
            outputs.fileProperties*.propertyName == ['$1$1', '$1$2']
            outputs.fileProperties*.propertyFiles*.files.flatten() == [file("a"), file("b")]
        }
    
        def "can register unnamed output files with property name"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 15 21:46:24 UTC 2022
    - 8.4K bytes
    - Viewed (0)
Back to top