eclipse-jdt / eclipse.jdt.core

Eclipse Public License 2.0
156 stars 123 forks source link

SourceMapper can't find source for inner classes for source compiled with Java 8 target #2754

Open iloveeclipse opened 1 month ago

iloveeclipse commented 1 month ago

Found during https://github.com/eclipse-jdt/eclipse.jdt.core/pull/2551 changes.

org.eclipse.jdt.core.tests.model.AttachSourceTests.testInnerClass9() shows a bug in BinaryType.getSource() where SourceMapper can't find source for inner classes for source compiled with Java 8 target (works with 1.4)