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

Bug 419715

Summary: [formatting][javadoc] package-info.java not formatted
Product: [Eclipse Project] JDT Reporter: Sebastian Zarnekow <sebastian.zarnekow>
Component: CoreAssignee: Mateusz Matela <mateusz.matela>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: manoj.palat, mateusz.matela
Version: 4.3.1   
Target Milestone: 4.8 M5   
Hardware: All   
OS: All   
Whiteboard:

Description Sebastian Zarnekow CLA 2013-10-17 09:47:32 EDT
Formatting does not seem to work in package-info.java files.

--- (nothing happens) ---

/**
 * A line that is supposed to be wrapped because it's too long
 */
package com.acme;
-------------------------


--- (nothing happens) ---
/****** some header comment *******/
/**
 * A line that is supposed to be wrapped because it's too long
 */
package com.acme;
-------------------------

This (invalid) file is formatted.

--- (formatting works) ---
package com.acme;
/**
 * A line that is supposed to be wrapped because it's too long
 */
-------------------------
Comment 1 Mateusz Matela CLA 2018-01-20 18:10:24 EST
This problem no longer occurs after the formatter redesign.

*** This bug has been marked as a duplicate of bug 303519 ***
Comment 2 Manoj N Palat CLA 2018-01-22 22:55:53 EST
Verified for Eclipse Photon 4.8 M5 with Build id:  I20180122-0800