[
https://issues.apache.org/jira/browse/LANG-378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13755513#comment-13755513
]
Barrie Treloar commented on LANG-378:
-------------------------------------
When I try to use the Ant test target (or Maven), I get the following error:
{noformat}
[javac] Compiling 153 source files to
E:\ide\maven\commons-lang-trunk\target\tests
[javac]
...\commons-lang-trunk\src\test\java\org\apache\commons\lang3\exception\AbstractExceptionContextTest.java:181:
type parameters of <T>T cannot be determined; no unique maximal instance
exists for type variable T with upper bounds T,java.lang.Object
[javac] final T clone =
SerializationUtils.deserialize(SerializationUtils.serialize(exceptionContext));
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
{noformat}
But compilation works fine in Eclipse, however the target environment is set to
1.6 not 1.5.
When setting it to 1.5 Eclipse fails with a large list of problems.
I don't have a 1.5 jdk installed on my machine.
I'm currently using
{noformat}
>java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
{noformat}
Is this a known problem?
Or should I dredge up a real 1.5 jdk from somewhere?
> Add new ToStyle to support MultiLine with Indent
> ------------------------------------------------
>
> Key: LANG-378
> URL: https://issues.apache.org/jira/browse/LANG-378
> Project: Commons Lang
> Issue Type: New Feature
> Components: lang.builder.*
> Affects Versions: 2.3
> Reporter: Barrie Treloar
> Priority: Minor
> Fix For: 3.x
>
> Attachments: LANG-378-branch-3.0-r1169521.patch,
> MultiLineWithIndentToStyle.zip
>
>
> Multiline support places everything on a new line with no indentation to
> help in readability.
> Attached is a patch (with tests) to support Multiline behaviour with
> indentation.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira