This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 228992 - core.browser.webview cannot compile with JDK 1.8
Summary: core.browser.webview cannot compile with JDK 1.8
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Embedded Browser (show other bugs)
Version: 7.4
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: JDK_8
Depends on:
Blocks:
 
Reported: 2013-04-25 08:21 UTC by Jiri Rechtacek
Modified: 2013-08-21 13:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Rechtacek 2013-04-25 08:21:05 UTC
1) install JDK 1.8
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b86)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b28, mixed mode)
2) install Ant 1.9
3) ant -f core.browser.webview/build.xml
=>


 [nb-javac] 11 warnings
     [copy] Copying 3 files to /Users/jirka/Documents/source/nb_all/core.browser.webview/build/classes

jar-prep:

jar:
[jarwithmoduleattributes] Computed OpenIDE-Module-Specification-Version: 1.4.0.1.1
[jarwithmoduleattributes] Building jar: /Users/jirka/Documents/source/nb_all/nbbuild/netbeans/ide/modules/org-netbeans-core-browser-webview.jar

projectized-common.release:

release:

ext-compile:
    [mkdir] Created dir: /Users/jirka/Documents/source/nb_all/core.browser.webview/build/extclasses
    [javac] Compiling 5 source files to /Users/jirka/Documents/source/nb_all/core.browser.webview/build/extclasses
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] /Users/jirka/Documents/source/nb_all/core.browser.webview/extsrc/org/netbeans/core/browser/webview/ext/WebBrowserImpl.java:831: error: cannot find symbol
    [javac]                 browser.impl_setScale( zoomFactor );
    [javac]                        ^
    [javac]   symbol:   method impl_setScale(double)
    [javac]   location: variable browser of type WebView
    [javac] Note: /Users/jirka/Documents/source/nb_all/core.browser.webview/extsrc/org/netbeans/core/browser/webview/ext/WebBrowserImpl.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error
    [javac] 1 warning
Comment 1 Stanislav Aubrecht 2013-08-21 13:38:40 UTC
core-main 35620fe435e6