Repository navigation
chore(build): Switch to JDK 21 and upgrade Mockito, Robolectric and Error Prone #6242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,7 @@ | ||
| import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | ||
|
|
||
| plugins { | ||
| `kotlin-dsl` | ||
| } | ||
|
|
||
| repositories { | ||
| mavenCentral() | ||
| } | ||
|
|
||
| tasks.withType<KotlinCompile>().configureEach { | ||
| compilerOptions.jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17 | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,12 +14,14 @@ | |
| * really the cause of the exception. Each "Caused by" is the stack trace of a running thread. Note | ||
| * that the main thread always comes first. | ||
| */ | ||
| final class ApplicationNotResponding extends RuntimeException { | ||
| private static final long serialVersionUID = 252541144579117016L; | ||
|
|
||
| // Never serialized. | ||
| @SuppressWarnings("serial") | ||
| private final @Nullable Thread thread; | ||
|
|
||
| ApplicationNotResponding(final @Nullable String message) { | ||
|
Check warning on line 24 in sentry-android-core/src/main/java/io/sentry/android/core/ApplicationNotResponding.java
|
||
|
Comment on lines
17
to
24
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. io.sentry.android.core.ApplicationNotResponding โ Adapted from ANR-WatchDog Evidence
Identified by Warden ยท check-code-attribution ยท DUA-PUT |
||
| super(message); | ||
| this.thread = null; | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| sdk=21 | ||
| sdk=23 | ||
| application=io.sentry.android.core.ApplicationStub |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
io.sentry.android.core.ApplicationNotResponding โ Header has source URL and "Based on" origin but omits the required Copyright line and License name (present on sibling
ANRWatchDog.java). AddCopyright (c) 2016 Salomon BRYSandThe MIT License(or equivalent) to the file header.Evidence
SalomonBrys/ANR-WatchDog/.../ANRError.javaand "Based on the class above" (vendored).Copyrightline and no license name (MIT/Licensed under).ANRWatchDog.javain the same package includes Adapted-from, MIT License, andCopyright (c) 2016 Salomon BRYS.THIRD_PARTY_NOTICES.mdlists Copyright(c) 2016 Salomon BRYSand MIT for this library.Identified by Warden ยท check-code-attribution ยท 4MB-UVC