aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Ross (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ARIES-1061) Subsystem URI uses a deprecated method.
Date Fri, 27 Sep 2013 15:44:03 GMT

     [ https://issues.apache.org/jira/browse/ARIES-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

John Ross updated ARIES-1061:
-----------------------------

    Labels: nextreleasecandidate  (was: )
    
> Subsystem URI uses a deprecated method.
> ---------------------------------------
>
>                 Key: ARIES-1061
>                 URL: https://issues.apache.org/jira/browse/ARIES-1061
>             Project: Aries
>          Issue Type: Improvement
>          Components: Subsystem
>    Affects Versions: 1.0
>         Environment: JDK7
>            Reporter: TangYong
>            Priority: Minor
>              Labels: nextreleasecandidate
>         Attachments: SubsystemUri.java.patch
>
>
> Currently, a fact that subsystem core can not be built on jdk7 has caused the whole subsystem
can not be built on jdk7 platform. Seeing the following exception:
> ...
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile
(default-compile) on project org.apache.aries.subsystem.core: Compilation failure
> [ERROR] could not parse error message: 警告:[options] ブートストラップ・クラスパスが-source
1.6と一緒に設定されていません
> [ERROR] D:\aries\subsystem\subsystem-core\src\main\java\org\apache\aries\subsystem\core\internal\SubsystemUri.java:90:
警告:[deprecation] URLEncoderのencode(String)は推奨されません
> [ERROR] builder.append(URLEncoder.encode(url.toString()));
> [ERROR] ^
> [ERROR] -> [Help 1]
> [ERROR]
> ...
> The reason is very simple,
> builder.append(URLEncoder.encode(url.toString())); has been deprecated and blocked compiling.

--
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

Mime
View raw message