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

ASTConverterTest(s): do not use not existing jclMin1.8.jar #3473

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

jukzi
Copy link
Contributor

@jukzi jukzi commented Dec 18, 2024

prevents logged java.nio.file.NoSuchFileException: eclipse-testing\test-eclipse\eclipse\jdt_dom_folder\jclMin1.8.jar

prevents logged java.nio.file.NoSuchFileException:
eclipse-testing\test-eclipse\eclipse\jdt_dom_folder\jclMin1.8.jar
@jukzi
Copy link
Contributor Author

jukzi commented Dec 18, 2024

example error log:

     [java] Failed to init Classpath for jar file C:\Users\genie.releng\workspace\AutomatedTests\ep435I-unit-win32-x86_64-java21\workarea\I20241217-1800\eclipse-testing\test-eclipse\eclipse\jdt_dom_folder\jclMin1.8.jar
     [java] java.nio.file.NoSuchFileException: C:\Users\genie.releng\workspace\AutomatedTests\ep435I-unit-win32-x86_64-java21\workarea\I20241217-1800\eclipse-testing\test-eclipse\eclipse\jdt_dom_folder\jclMin1.8.jar
     [java] 	at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
     [java] 	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
     [java] 	at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
     [java] 	at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:53)
     [java] 	at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:38)
     [java] 	at java.base/sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:197)
     [java] 	at java.base/java.nio.file.Files.readAttributes(Files.java:1853)
     [java] 	at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1445)
     [java] 	at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:724)
     [java] 	at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:251)
     [java] 	at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:180)
     [java] 	at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:194)
     [java] 	at org.eclipse.jdt.internal.compiler.batch.ClasspathJar.initialize(ClasspathJar.java:196)
     [java] 	at org.eclipse.jdt.internal.compiler.batch.FileSystem.<init>(FileSystem.java:206)
     [java] 	at org.eclipse.jdt.internal.compiler.batch.FileSystem.<init>(FileSystem.java:190)
     [java] 	at org.eclipse.jdt.core.tests.util.Util.compile(Util.java:267)
     [java] 	at org.eclipse.jdt.core.tests.util.Util.createJar(Util.java:473)
     [java] 	at org.eclipse.jdt.core.tests.util.Util.createJar(Util.java:504)
     [java] 	at org.eclipse.jdt.core.tests.model.AbstractJavaModelTests.createLibrary(AbstractJavaModelTests.java:746)
     [java] 	at org.eclipse.jdt.core.tests.model.AbstractJavaModelTests.addLibrary(AbstractJavaModelTests.java:712)
     [java] 	at org.eclipse.jdt.core.tests.model.AbstractJavaModelTests.addLibrary(AbstractJavaModelTests.java:699)
     [java] 	at org.eclipse.jdt.core.tests.model.AbstractJavaModelTests.addLibrary(AbstractJavaModelTests.java:667)
     [java] 	at org.eclipse.jdt.core.tests.dom.ASTConverterTest2.test0571(ASTConverterTest2.java:5258)

multiple times:

	Line 83071:      [java] 	at org.eclipse.jdt.core.tests.dom.ASTConverterTest2.test0571(ASTConverterTest2.java:5258)
	Line 83148:      [java] 	at org.eclipse.jdt.core.tests.dom.ASTConverterTest2.test0576(ASTConverterTest2.java:5364)
	Line 83225:      [java] 	at org.eclipse.jdt.core.tests.dom.ASTConverterBugsTestJLS3.testbug388137(ASTConverterBugsTestJLS3.java:1070)
	Line 83302:      [java] 	at org.eclipse.jdt.core.tests.dom.ASTConverter15Test.test0189(ASTConverter15Test.java:5822)
	Line 83379:      [java] 	at org.eclipse.jdt.core.tests.dom.ASTConverterBugsTestJLS3.testbug388137(ASTConverterBugsTestJLS3.java:1070)
	Line 83456:      [java] 	at org.eclipse.jdt.core.tests.dom.ASTConverterBugsTestJLS8.testGH1376(ASTConverterBugsTestJLS8.java:1093)
	Line 83533:      [java] 	at org.eclipse.jdt.core.tests.dom.ASTConverter15JLS4Test.test0189(ASTConverter15JLS4Test.java:5810)
	Line 83610:      [java] 	at org.eclipse.jdt.core.tests.dom.ASTConverter15JLS8Test.test0189(ASTConverter15JLS8Test.java:5807)
	Line 83687:      [java] 	at org.eclipse.jdt.core.tests.dom.ASTConverter18Test.test406805(ASTConverter18Test.java:4394)
	Line 83764:      [java] 	at org.eclipse.jdt.core.tests.dom.ASTConverter18Test.test406805a(ASTConverter18Test.java:4457)
	Line 83841:      [java] 	at org.eclipse.jdt.core.tests.dom.ASTConverter18Test.test406805b(ASTConverter18Test.java:4518)
	Line 83918:      [java] 	at org.eclipse.jdt.core.tests.dom.ASTConverter18Test.test406805d(ASTConverter18Test.java:4580)
	Line 83995:      [java] 	at org.eclipse.jdt.core.tests.dom.ASTConverter18Test.test436347(ASTConverter18Test.java:4646)

@jukzi jukzi added the test Work on unit tests, no change of productive code label Dec 18, 2024
@jukzi jukzi merged commit ba2adeb into eclipse-jdt:master Dec 18, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Work on unit tests, no change of productive code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant