Skip to content
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

Use gradle files API instead of Java file API #118

Closed

Conversation

arunkumar9t2
Copy link
Contributor

@arunkumar9t2 arunkumar9t2 commented Nov 9, 2023

Proposed Changes

Use gradle file API to setup File properties. For some unknown reason this was causing a Stack overflow error only on Linux. It could be due to how paths are resolved but root cause is unclear.

Attaching stacktrace for discoverability in case any body else stumbles upon this.

* Exception is:
java.lang.StackOverflowError
	at org.gradle.api.internal.provider.ValueSupplier$PlusProducer.visitProducerTasks(ValueSupplier.java:162)
	at org.gradle.api.internal.provider.ValueSupplier$PlusProducer.visitProducerTasks(ValueSupplier.java:162)
	at org.gradle.api.internal.provider.ValueSupplier$PlusProducer.visitProducerTasks(ValueSupplier.java:162)
	at org.gradle.api.internal.provider.ValueSupplier$PlusProducer.visitProducerTasks(ValueSupplier.java:162)
	at org.gradle.api.internal.provider.ValueSupplier$PlusProducer.visitProducerTasks(ValueSupplier.java:162)
	at org.gradle.api.internal.provider.ValueSupplier$PlusProducer.visitProducerTasks(ValueSupplier.java:162)
	at org.gradle.api.internal.provider.ValueSupplier$PlusProducer.visitProducerTasks(ValueSupplier.java:162)
	at org.gradle.api.internal.provider.ValueSupplier$PlusProducer.visitProducerTasks(ValueSupplier.java:162)
	at org.gradle.api.internal.provider.ValueSupplier$PlusProducer.visitProducerTasks(ValueSupplier.java:162)
	at org.gradle.api.internal.provider.ValueSupplier$PlusProducer.visitProducerTasks(ValueSupplier.java:162)
	at org.gradle.api.internal.provider.ValueSupplier$PlusProducer.visitProducerTasks(ValueSupplier.java:162)
	at org.gradle.api.internal.provider.ValueSupplier$PlusProducer.visitProducerTasks(ValueSupplier.java:162)

@arunkumar9t2 arunkumar9t2 changed the title Add PathSensitivity for all InputFile and OutputFiles Use gradle files API instead of Java file API Nov 9, 2023
@arunkumar9t2 arunkumar9t2 marked this pull request as ready for review November 9, 2023 10:39
@arunkumar9t2 arunkumar9t2 deleted the arun/annotate-path-sensitivity branch November 9, 2023 11:02
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.

2 participants