[
https://issues.apache.org/jira/browse/TRAFODION-3241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16704468#comment-16704468
]
ASF GitHub Bot commented on TRAFODION-3241:
-------------------------------------------
GitHub user kevinxu021 opened a pull request:
https://github.com/apache/trafodion/pull/1753
[TRAFODION-3241]support both jdk1.7 and jdk1.8
Previously, it doesnot support jdk1.8 because of site. Here use profile as
a solution. By the way, to accelerate to the compilation speed, add if-else in
Makefile that if you want to re-compile, please do make clean first. With my
experiences, most of the time if the error is not in DCS/JDBC, you might not
want to recompile this module.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kevinxu021/incubator-trafodion javadoc
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafodion/pull/1753.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1753
----
commit b1a5d7b38e4efbdfad607907783f908c71b202e9
Author: Kevin Xu <kaihua.xu@...>
Date: 2018-11-30T09:20:15Z
support both jdk1.7 and jdk1.8
----
> When running "mvn site" with JDK1.8, you will have some errors for DCS/JDBCT4
> -----------------------------------------------------------------------------
>
> Key: TRAFODION-3241
> URL: https://issues.apache.org/jira/browse/TRAFODION-3241
> Project: Apache Trafodion
> Issue Type: Bug
> Components: connectivity-general
> Reporter: Kevin Xu
> Priority: Major
>
> [ERROR]
> /home/trafodion/esgyndb/trafodion/dcs/src/main/java/org/trafodion/dcs/util/InfoServer.java:49:
> error: element not closed: code
> [ERROR] * The jsp scripts are taken from src/dcs-webapps/<code>name<code>.
> [ERROR] ^
> [ERROR]
> /home/trafodion/esgyndb/trafodion/dcs/src/main/java/org/trafodion/dcs/util/InfoServer.java:49:
> error: element not closed: code
> [ERROR] * The jsp scripts are taken from src/dcs-webapps/<code>name<code>.
> [ERROR] ^
> [ERROR]
> /home/trafodion/esgyndb/trafodion/dcs/src/main/java/org/trafodion/dcs/util/InfoServer.java:57:
> warning: no @param for c
> [ERROR] public InfoServer(String name, String bindAddress, int port,
> boolean findPort,
> [ERROR] ^
> [ERROR]
> /home/trafodion/esgyndb/trafodion/dcs/src/main/java/org/trafodion/dcs/util/RetryCounter.java:52:
> warning: no description for @throws
> [ERROR] * @throws InterruptedException
> [ERROR] ^
> [ERROR]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)