This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/Users/eric/workspace/scala-native/auxlib/src/main/scala/scala/collection/concurrent/INodeBase.scala | |
+++ b/Users/eric/workspace/scala-native/auxlib/src/main/scala/scala/collection/concurrent/INodeBase.scala | |
@@ -15,4 +15,3 @@ | |
classFieldRawPtr( | |
- obj.asInstanceOf[INodeBase[AnyRef, AnyRef]], | |
- "mainnode" | |
+ obj.asInstanceOf[INodeBase[AnyRef, AnyRef]], "mainnode" | |
) | |
--- a/Users/eric/workspace/scala-native/auxlib/src/main/scala/scala/collection/concurrent/IntrinsicAtomicFieldUpdaters.scala | |
+++ b/Users/eric/workspace/scala-native/auxlib/src/main/scala/scala/collection/concurrent/IntrinsicAtomicFieldUpdaters.scala |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scala.io.Source | |
import java.io._ | |
def writeFile(filename: String, lines: Seq[String]): Unit = { | |
val file = new File(filename) | |
val bw = new BufferedWriter(new FileWriter(file)) | |
for (line <- lines) { | |
bw.write(line) | |
} | |
bw.close() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sbt:sconfig-root> last sconfigNative / Test / nativeLink | |
[debug] Config( | |
[debug] - baseDir: /Users/eric/workspace/sconfig/sconfig/native/target/scala-2.12 | |
[debug] - testConfig: true | |
[debug] - workDir: /Users/eric/workspace/sconfig/sconfig/native/target/scala-2.12/native-test | |
[debug] - moduleName: sconfig | |
[debug] - baseName: sconfig | |
[debug] - artifactName: sconfig-test | |
[debug] - artifactPath: /Users/eric/workspace/sconfig/sconfig/native/target/scala-2.12/sconfig-test | |
[debug] - buildPath: /Users/eric/workspace/sconfig/sconfig/native/target/scala-2.12/native-test/scala.scalanative.testinterface.TestMain-test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package java.util.jar | |
// Ported from Apache Harmony | |
import java.util.HashSet | |
import org.junit.Before | |
import org.junit.Test | |
import org.junit.Assert._ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// false means continue | |
val res = stack.asScala.find { l => | |
l match { | |
case layer: AbstractConfigObject => { | |
layer.attemptPeekWithPartialResolve(key) match { | |
case v if v != null => | |
if (v.ignoresFallbacks) { | |
// we know we won't need to merge anything in to this value | |
true // v | |
} else { |