-
Bug
-
Resolution: Fixed
-
P2
-
11.0.7, 12
-
b24
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8244371 | 11.0.9-oracle | Hannes Wallnoefer | P2 | Closed | Fixed | b01 |
JDK-8242915 | 11.0.8 | Hannes Wallnoefer | P2 | Resolved | Fixed | b01 |
With jdk-12-ea+22 (but not jdk-12-ea+21) I see:
javac -Xdoclint:all ArraySerialField.java
ArraySerialField.java:3: error: array type not allowed here
/** @serialField longs Long[] the longs */
---
/** Obdoc. */
public class ArraySerialField {
/** @serialField longs Long[] the longs */
private static final java.io.ObjectStreamField[] serialPersistentFields = {
new java.io.ObjectStreamField("longs", Long[].class),
};
}
javac -Xdoclint:all ArraySerialField.java
ArraySerialField.java:3: error: array type not allowed here
/** @serialField longs Long[] the longs */
---
/** Obdoc. */
public class ArraySerialField {
/** @serialField longs Long[] the longs */
private static final java.io.ObjectStreamField[] serialPersistentFields = {
new java.io.ObjectStreamField("longs", Long[].class),
};
}
- backported by
-
JDK-8242915 -Xdoclint of array serialField gives "error: array type not allowed here"
-
- Resolved
-
-
JDK-8244371 -Xdoclint of array serialField gives "error: array type not allowed here"
-
- Closed
-
- relates to
-
JDK-8200432 javadoc fails with ClassCastException on {@link byte[]}
-
- Closed
-