8005555: TEST_BUG: java/io/Serializable/accessConstants/AccessConstants.java can probably be removed

Alan Bateman Alan.Bateman at oracle.com
Wed Apr 24 16:15:13 UTC 2013

This test has been failing recently for me with the error "No action 
after @build", I think possibly related to an update in jtreg (I built 
jtreg from code-tools-jtreg).

The test is a compile-only test, it doesn't actually run or do anything. 
It basically just tests that ObjectStreamConstants constants are public 
and so would fail to compile if something removed these constants from 
the API.

We can trivially replace the @build with a @compile tag but I'm not sure 
that the test has any value. Instead I suggest we just remove it, as in:

hg rm test/java/io/Serializable/accessConstants/AccessConstants.java

Any objections?


More information about the core-libs-dev mailing list