Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8981725
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:24:29+00:00 2026-06-15T20:24:29+00:00

When I compile the Spring JDBC source on OS X with JDK 1.7.0, I

  • 0

When I compile the Spring JDBC source on OS X with JDK 1.7.0, I get this warning:

warning: CachedRowSetImpl is internal proprietary API and may be removed in a future release

How do I suppress the warning message during a compile?

I already know and use Java’s @SuppressWarning annotations. I’m looking for the specific use of this to suppress the warning I’ve described.

My question specifically is, in this line of code:

@SuppressWarnings("valuegoeshere")

what should “valuegoeshere” be replaced with?

EDIT: People, I know that it is best to avoid the code that leads to the warning. And usually that would be my approach. However I’m compiling third-party code here which I don’t want to rewrite. I just want to add the correct annotation to suppress the warning, so that warnings I can actually do something about don’t get buried.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T20:24:30+00:00Added an answer on June 15, 2026 at 8:24 pm

    This particular warning cannot be suppressed. At least not officially.

    The warning about proprietary API means that you should not
    use the API which causes the warning. Sun does not support
    such API and the warning will not be suppressible.

    If you’re particularly determined, you can use the highly undocumented javac -XDignore.symbol.file flag which will compile your program against Sun’s internal rt.jar rather than the public-facing symbol file ct.sym. rt.jar doesn’t produce this warning.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When I compile my spring mvc app, I get this in the output: INFO:
we are using Aspectj compile time loading in Spring source tool suite..when we are
I've written the following Spring JDBC API StoredProcedure sub-class: class GetLdapPropertiesStoredProcedure extends StoredProcedure {
I'm trying to use aspectj with compile time weaving to support annotations like Spring's
Can any one help me how to run this code... If I compile this
I am getting a Missing artifact org.springframework.security:spring-security-parent:jar:3.0.7.RELEASE:compile error in the pom.xml when I add
This is my first attempt to connect to an Oracle DB (10g) using JDBC.
I'm trying to change from load-time-weaving to compile-time-weaving with my Spring 2.5 app. To
Hi I am trying to execute stored procedures using Spring JDBC. Here's the SP
I am trying to execute an SQL Function using Spring JDBC. My code is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.