aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/java-interop/failing
diff options
context:
space:
mode:
authorOndrej Lhotak <olhotak@uwaterloo.ca>2014-10-29 17:29:40 +0100
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2014-11-22 20:10:22 +0100
commit4dabffd47955b3e02174598d57c5dd6c9b6752bc (patch)
treed450fcb9fb1ad5ad6048bfdb8ea7c0d6008d2cb6 /tests/disabled/java-interop/failing
parentf1602ab22bf0b26d2e68bf564e6f53271a5707d2 (diff)
downloaddotty-4dabffd47955b3e02174598d57c5dd6c9b6752bc.tar.gz
dotty-4dabffd47955b3e02174598d57c5dd6c9b6752bc.tar.bz2
dotty-4dabffd47955b3e02174598d57c5dd6c9b6752bc.zip
create dummy first constructor for Java classes
The dummy constructor is needed so that the real constructors see the import of the companion object. The constructor has a parameter of type Unit so that no Java code can call it.
Diffstat (limited to 'tests/disabled/java-interop/failing')
-rw-r--r--tests/disabled/java-interop/failing/t2409/J.java4
-rw-r--r--tests/disabled/java-interop/failing/t2409/t2409.scala1
2 files changed, 0 insertions, 5 deletions
diff --git a/tests/disabled/java-interop/failing/t2409/J.java b/tests/disabled/java-interop/failing/t2409/J.java
deleted file mode 100644
index 6b7c45ff6..000000000
--- a/tests/disabled/java-interop/failing/t2409/J.java
+++ /dev/null
@@ -1,4 +0,0 @@
-class J {
- static class J2 { }
- J(J2 j2) { }
-}
diff --git a/tests/disabled/java-interop/failing/t2409/t2409.scala b/tests/disabled/java-interop/failing/t2409/t2409.scala
deleted file mode 100644
index 0412f7d82..000000000
--- a/tests/disabled/java-interop/failing/t2409/t2409.scala
+++ /dev/null
@@ -1 +0,0 @@
-object S { new J(null) }