White Papers

Java Type Inference Is Broken: Can We Fix It?

Overview Java 5 introduced a number of sophisticated features, including a major extension to the type system. While the technical details of these new features are complex, much of this complexity is hidden from the typical Java developer by an ambitious type inference mechanism. Unfortunately, the extensions to the Java 5 type system were so novel that their technical details had not yet been thoroughly investigated in the research literature. As a result, the Java 5 compiler includes a pragmatic but flawed type inference algorithm that is, by design, neither sound nor locally complete. This paper dissects the type inference algorithm of Java 5 and proposes a significant revision that is sound and able to calculate correct results where the Java 5 algorithm fails.

Download White Paper

By downloading you agree to our Terms and Conditions. These include information regarding use of your personal data.

Publisher
Association for Computing Machinery
File Format
PDF
Date Published
Jan 9, 2009
Format
White Papers
Topics
Java, Programming Languages

Similiar White Papers

Connecting to Oracle From Ruby on Rails

Connecting to Oracle From Ruby on Rails

In the Java world, there are two common types of drivers for Oracle: the pure-Java (a.k.a. thin) driver and the native O

Publisher: Oracle  |  Tags: database, java, software

Design Considerations for Using the PIM API for Java ME

Design Considerations for Using the PIM API for Java ME

Mobile handsets such as cellphones typically have an address book to keep track of people one likes to stay in touch wit

Publisher: Sun Microsystems  |  Tags: api, applications, data, java

Using Java Persistence API Within a Visual Web JSF Application

Using Java Persistence API Within a Visual Web JSF Application

Using NetBeans IDE 6.0 and the Visual Web tools, one can write applications that connect to database tables using the Ja

Publisher: Sun Microsystems  |  Tags: api, applications, data, database, java

Java Servlet & JSP Cookbook: Embedding Multimedia in JSPs

Java Servlet & JSP Cookbook: Embedding Multimedia in JSPs

Most web sites include some type of multimedia and interactive programs, such as digital videos, digital audio files, Ma

Publisher: O'Reilly Media  |  Tags: digital, java

Using XMLEncoder

Using XMLEncoder

This paper covers advanced use of XMLEncoder, showing how it can be configured to create archives of any Java objects -

Publisher: Sun Microsystems  |  Tags: java

Association for Computing Machinery White Papers

Managing ETL Processes

Managing ETL Processes

ETL tools allow the definition of sometimes complex processes to extract, transform, and load heterogeneous data into a

Publisher: Association for Computing Machinery  |  Tags: data, data integration, data warehouse, management

GPS-Free Node Localization in Mobile Wireless Sensor Networks

GPS-Free Node Localization in Mobile Wireless Sensor Networks

An important problem in mobile ad-hoc wireless sensor networks is the localization of individual nodes, i.e., each node'

Publisher: Association for Computing Machinery  |  Tags: gps, infrastructure, network

A Black-Box Approach for Web Application SLA

A Black-Box Approach for Web Application SLA

Web servers nowadays have to cope with unprecedented amounts of workload, due to increasing popularity and complexity; i

Publisher: Association for Computing Machinery  |  Tags: applications, server

Load Balancing for Multimedia Streaming in Heterogeneous Peer-to-Peer Systems

Load Balancing for Multimedia Streaming in Heterogeneous Peer-to-Peer Systems

Multimedia streaming of mostly user generated content is an ongoing trend, not only since the upcoming of Last.fm and Yo

Publisher: Association for Computing Machinery  |  Tags: user generated, user generated content, youtube

Multiobjective Network Design for Realistic Traffic Models

Multiobjective Network Design for Realistic Traffic Models

Network topology design problems find application in several real life scenarios. However, most designs in the past eith

Publisher: Association for Computing Machinery  |  Tags: network, realistic