Skip to content

Conversation

som-snytt
Copy link
Contributor

As diagnosed.

Fixes scala/bug#11754

@scala-jenkins scala-jenkins added this to the 2.13.2 milestone Sep 30, 2019
@som-snytt
Copy link
Contributor Author

som-snytt commented Sep 30, 2019

MiMa objects to my package private constant value definition for slash. Whitelisting is so tiresome, I may just revert that. Or maybe try the exclusion. Would be nice to have a scala-sbt-fix task to automate that!

@som-snytt som-snytt force-pushed the issue/11754 branch 3 times, most recently from 0dc000f to 54b79b5 Compare September 30, 2019 21:31
), fs)
val assignedInConstr = getMethod(k, "<init>").instructions.filter(_.opcode == Opcodes.PUTFIELD) map {
case f: Field => f.name
case _ => ??? // @unchecked
Copy link
Member

Choose a reason for hiding this comment

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

yeah, @unchecked would be cleaner

@lrytz lrytz requested a review from retronym October 10, 2019 09:33
Copy link
Member

@retronym retronym left a comment

Choose a reason for hiding this comment

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

Thank you.

@som-snytt
Copy link
Contributor Author

Rebase, squash, resolve hot lines of mima exclusions.

Local test and code cleanup and MiMa exclusion for RootEntry.

Improve lookupfactory test, spell Closeable.

Arguably simplify code in LookupFactory.
@retronym retronym merged commit f23a372 into scala:2.13.x Oct 31, 2019
@som-snytt som-snytt deleted the issue/11754 branch October 31, 2019 12:54
@SethTisue
Copy link
Member

@som-snytt this PR seems to be causing test failures on Windows: https://scala-ci.typesafe.com/view/scala-2.13.x/job/scala-2.13.x-integrate-windows/1157/ and all subsequent runs as well

[error] Failed tests:
[error] 	scala.reflect.io.ZipArchiveTest
[error] 	scala.tools.nsc.classpath.ZipAndJarFileLookupFactoryTest

@som-snytt
Copy link
Contributor Author

@SethTisue thanks for the heads up. I don't know why I didn't run the test suite on a windows box a long time ago. I'll take a look.

@som-snytt
Copy link
Contributor Author

Possible fix at #8539

mpollmeier added a commit to joernio/joern that referenced this pull request Nov 27, 2019
script tests failed due to scala/bug#11754
Which is fixed in scala/scala#8447, i.e. we can
upgrade to 2.13.2 once that's released
mpollmeier added a commit to ShiftLeftSecurity/codepropertygraph that referenced this pull request Dec 2, 2019
underlying issue: scala/bug#11754
which is fixed in scala/scala#8447
i.e. we can upgrade to 2.13.2 once that's released

shows as stackoverflow error recursing indefinitely:
`scala.reflect.io.ZipArchive.ensureDir(ZipArchive.scala:126)`
mpollmeier added a commit to ShiftLeftSecurity/codepropertygraph that referenced this pull request Dec 2, 2019
* upgrade to scala 2.13.1

mostly reapplied #334

* use built-in ARM

* upgrade sbt

* compile works

* fix compile deprecation warnings

* bring converters back in

* use my custom-published collections-contrib

* fix deprecation warning

* Disable fatal warnings on cpgserver.

* temporarily disable fatal-warnings

* inline reading overlay entries for simpler ARM handling

* scalafmt

* reenable xfatal warnings for other subprojects

* fix tests

* released fuzzyc

* downgrade to 2.13.0 to fix cpg-server issue with ZipArchive

underlying issue: scala/bug#11754
which is fixed in scala/scala#8447
i.e. we can upgrade to 2.13.2 once that's released

shows as stackoverflow error recursing indefinitely:
`scala.reflect.io.ZipArchive.ensureDir(ZipArchive.scala:126)`
mpollmeier added a commit to joernio/joern that referenced this pull request Dec 3, 2019
* upgrade to scala 2.13.1

* back to 2.13.0 due to a scala-reflect regression

script tests failed due to scala/bug#11754
Which is fixed in scala/scala#8447, i.e. we can
upgrade to 2.13.2 once that's released

* undo local temp fix

* apply tab completion workaround

ammonite tab completion is partly broken for scala > 2.12.8
applying workaround for package wildcard imports from com-lihaoyi/Ammonite#1009

* latest versions

* released versions
max-leuthaeuser pushed a commit to joernio/joern that referenced this pull request Jul 29, 2022
* upgrade to scala 2.13.1

* back to 2.13.0 due to a scala-reflect regression

script tests failed due to scala/bug#11754
Which is fixed in scala/scala#8447, i.e. we can
upgrade to 2.13.2 once that's released

* undo local temp fix

* apply tab completion workaround

ammonite tab completion is partly broken for scala > 2.12.8
applying workaround for package wildcard imports from com-lihaoyi/Ammonite#1009

* latest versions

* released versions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

scala.reflect.io.ZipArchive#ensureDir infinitely recurses in some cases in 2.13.1

5 participants