Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 574303

Summary: Avoid deprecated ClassLoader::getPackage
Product: [Eclipse Project] JDT Reporter: Jörg Kubitz <jkubitz-eclipse>
Component: APTAssignee: Generic inbox for the JDT-APT component <jdt-apt-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: loskutov
Version: 4.21   
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/182282
Whiteboard:

Description Jörg Kubitz CLA 2021-06-18 06:39:32 EDT
Because ClassLoader.getPackage() was deprecated in 9 but still used in 
org.eclipse.jdt.apt.core.internal.JarClassLoader
Comment 1 Eclipse Genie CLA 2021-06-18 06:41:01 EDT
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/182167
Comment 2 Andrey Loskutov CLA 2021-06-18 09:35:10 EDT
Will be done as part of jdt.core migration in bug 572389.

*** This bug has been marked as a duplicate of bug 572389 ***
Comment 3 Jörg Kubitz CLA 2021-06-21 03:25:16 EDT
This bug was meant to avoid deprecated ClassLoader::getPackage
Comment 4 Eclipse Genie CLA 2021-06-21 03:32:58 EDT
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/182282
Comment 5 Jörg Kubitz CLA 2021-06-21 03:51:04 EDT

*** This bug has been marked as a duplicate of bug 574347 ***