Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'org.gradle.toolchains.foojay-resolver-convention' version '1.0.0'
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.10.0'
id 'org.jetbrains.kotlin.jvm' version '2.1.21' apply false
}
rootProject.name = 'rhino-root'
Expand Down
2 changes: 1 addition & 1 deletion tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ test {

systemProperty 'test262properties', System.getProperty('test262properties')
if (System.getProperty('updateTest262properties') != null) {
if (System.getenv("RHINO_TEST_JAVA_VERSION") != "11") {
if ("11".equals(System.getenv("RHINO_TEST_JAVA_VERSION"))) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing a ! here ? The new condition seems to being doing the opposite of the original one

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:-) omg
will check that tomorrow....

System.out.println("Test262 properties update is only accurate on Java 11 and you have " + JavaVersion.current())
System.out.println("Set RHINO_TEST_JAVA_VERSION in the environment to use this feature")
throw new Exception("Incorrect Java version for Test 262 properties update")
Expand Down
Loading