Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PropertyQueryException (0.14 sec)

  1. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/JavaExecTest.groovy

            javaCompile.options.fork = true
            javaCompile.options.forkOptions.javaHome = new File("invalidJavaHome")
            javaCompile.createSpec()
    
            then:
            def e = thrown(AbstractProperty.PropertyQueryException)
            def cause = TestUtil.getRootCause(e) as InvalidUserDataException
            cause.message.contains("The configured Java home does not exist")
            cause.message.contains(invalidJavaHome)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top